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.0008928/0.0008928, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002224, allocations: 455.9 kB / 10.35 MB, free: 348 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.001013/0.001013, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002397, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09747/1.098, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.8072/0.8072, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04243/0.8496, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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.533e-06/1.533e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.025e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.002628/0.002659, allocations: 0.686 MB / 0.5453 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.706e-05/0.002716, allocations: 7.938 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.00275, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.666e-06/0.002758, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.371e-05/0.002782, allocations: 7.938 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.949e-05/0.002832, allocations: 3.984 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.002907, allocations: 19.92 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.002966, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.003039, allocations: 19.92 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.0031, allocations: 3.984 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.003125, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.141e-06/0.003131, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.003151, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.003184, allocations: 7.938 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.724e-05/0.003281, allocations: 7.938 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.098e-05/0.003302, allocations: 4 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.003304, allocations: 0 / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.003324, allocations: 0 / 0.5453 GB, free: 29.61 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.0004144/0.003739, allocations: 231.1 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.00379, allocations: 15.88 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.003819, allocations: 4.938 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.003906, allocations: 111.4 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.003921, allocations: 4.375 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.003931, allocations: 4.312 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.004016, allocations: 34.25 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.00403, allocations: 8.125 kB / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.00404, allocations: 384 / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004047, allocations: 384 / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.004076, allocations: 7.938 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.004193, allocations: 61.05 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.004466, allocations: 50.53 kB / 0.5458 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.004492, allocations: 4.859 kB / 0.5458 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.004501, allocations: 4 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.004527, allocations: 30.56 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.004528, allocations: 0 / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001139/0.004642, allocations: 41.69 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.004679, allocations: 55.41 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.00474, allocations: 110.1 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.004749, allocations: 33.7 kB / 0.5461 GB, free: 28.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.004764, allocations: 84.12 kB / 0.5462 GB, free: 28.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.004799, allocations: 7.891 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.004832, allocations: 21.64 kB / 0.5462 GB, free: 28.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.004882, allocations: 314.8 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.00489, allocations: 4 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.0049, allocations: 4 kB / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.004931, allocations: 21.09 kB / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.004934, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.865e-05/0.004993, allocations: 37.7 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.00501, allocations: 11.98 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005016, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005027, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.005068, allocations: 7.938 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005071, allocations: 0 / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.005086, allocations: 3.953 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005089, allocations: 4 kB / 0.5466 GB, free: 28.14 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 4.402e-05/0.005133, allocations: 109.8 kB / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.005143, allocations: 8 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.005169, allocations: 11.98 kB / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005171, allocations: 0 / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005172, allocations: 0 / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005175, allocations: 0 / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.926e-05/0.005235, allocations: 73.78 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005236, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.005259, allocations: 4 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.005266, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.005269, allocations: 4 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.005274, allocations: 3.984 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005275, allocations: 4 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005276, allocations: 0 / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.339e-05/0.005349, allocations: 69 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.005359, allocations: 4 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.005372, allocations: 3.312 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.005384, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005387, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.526e-05/0.005402, allocations: 20.83 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005402, allocations: 0 / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.005549, allocations: 0 / 0.5469 GB, free: 27.79 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 8.25e-05/0.005631, allocations: 88.42 kB / 0.547 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.575e-05/0.005687, allocations: 12.86 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.005694, allocations: 0 / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.005713, allocations: 20.84 kB / 0.547 GB, free: 27.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.351e-05/0.005777, allocations: 3.938 kB / 0.547 GB, free: 27.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.005958, allocations: 120.4 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.171e-05/0.00598, allocations: 55.34 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.005996, allocations: 7.938 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.006023, allocations: 47.38 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.006024, allocations: 4 kB / 0.5473 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Templates: time 0.002243/0.008267, allocations: 449.1 kB / 0.5477 GB, free: 26.99 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.296471376903355]