Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007558/0.0007558, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.001954, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007704/0.0007704, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002432, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.132, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7444/0.7444, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.035/0.7794, allocations: 21.04 MB / 0.5431 GB, free: 31.95 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.004e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.00101/0.00103, allocations: 0.6775 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.405e-05/0.001054, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.001071, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.758e-06/0.001076, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.044e-05/0.001086, allocations: 4 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.586e-05/0.001112, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.001155, allocations: 7.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.00119, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.00124, allocations: 19.91 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.001281, allocations: 7.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.0013, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-06/0.001305, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.001316, allocations: 7.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.001333, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.028e-05/0.001383, allocations: 7.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.001395, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001396, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.001404, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002502/0.001654, allocations: 227.1 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.001687, allocations: 15.89 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.001706, allocations: 8.922 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.244e-05/0.001759, allocations: 113.8 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.001767, allocations: 384 / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.001777, allocations: 8.312 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.686e-05/0.001834, allocations: 34.25 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.001839, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.001845, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.001848, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.001864, allocations: 11.88 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.484e-05/0.001929, allocations: 61.05 kB / 0.5457 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.002117, allocations: 46.59 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.002129, allocations: 8.859 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.002136, allocations: 0 / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.002148, allocations: 30.56 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.002149, allocations: 0 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.903e-05/0.002228, allocations: 45.81 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.002249, allocations: 51.41 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.002282, allocations: 114.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/0.002286, allocations: 25.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-06/0.002295, allocations: 80.14 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.002321, allocations: 15.88 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.002342, allocations: 17.7 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.994e-05/0.002372, allocations: 318.8 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.002378, allocations: 3.625 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.002385, allocations: 7.984 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.002406, allocations: 16.84 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.002408, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.058e-05/0.002439, allocations: 41.64 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.002453, allocations: 7.984 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.002459, allocations: 2.734 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.002469, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.848e-05/0.002507, allocations: 12 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.00251, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.002522, allocations: 3.953 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.002525, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.00256, allocations: 113.8 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-06/0.002564, allocations: 4 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.002584, allocations: 8 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.002586, allocations: 3.984 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.002588, allocations: 7.938 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00259, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.29e-05/0.002633, allocations: 65.84 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.002634, allocations: 4 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.002646, allocations: 7.938 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.002652, allocations: 4 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.002653, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-06/0.002655, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.002656, allocations: 3.984 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.002657, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.41e-05/0.002701, allocations: 65.06 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.002709, allocations: 4 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-06/0.002715, allocations: 0 / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.002723, allocations: 4 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.002725, allocations: 7.062 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.258e-06/0.002734, allocations: 12.84 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002734, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.363e-05/0.002818, allocations: 4 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.299e-05/0.002871, allocations: 88.34 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.99e-05/0.002921, allocations: 12.86 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.002924, allocations: 4 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.002934, allocations: 16.84 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.022e-05/0.002994, allocations: 11.88 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/0.003152, allocations: 116.5 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.691e-05/0.003168, allocations: 51.36 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.181e-05/0.00318, allocations: 11.92 kB / 0.5471 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.003204, allocations: 47.38 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.003205, allocations: 0 / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of Templates: time 0.001652/0.004856, allocations: 448.8 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1100545059889555]