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.0006743/0.0006743, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008802/0.001554, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007127/0.0007127, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008321/0.001545, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.125/1.125, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09498/1.22, 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.8508/0.8508, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05326/0.9041, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.664e-06/1.664e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.683e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.0009798/0.0009966, allocations: 0.6777 MB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.98e-05/0.001026, allocations: 3.938 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.001047, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-06/0.001052, allocations: 4 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.568e-06/0.001062, allocations: 7.938 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.951e-05/0.001091, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.001151, allocations: 15.91 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.001204, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.001277, allocations: 8 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.001337, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.00136, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.001368, allocations: 3.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.001381, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.001403, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.967e-05/0.001473, allocations: 15.98 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.00149, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001491, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.001505, allocations: 0 / 0.5452 GB, free: 29.89 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.0003578/0.001863, allocations: 239 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.001901, allocations: 11.89 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.001932, allocations: 8.812 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.002012, allocations: 109.8 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.002029, allocations: 4.359 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.002038, allocations: 4.375 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.002119, allocations: 38.25 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.002128, allocations: 192 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.002136, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.002142, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.002171, allocations: 11.92 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.64e-05/0.002268, allocations: 61.05 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.002493, allocations: 42.55 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.002507, allocations: 12.84 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.002513, allocations: 0 / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.00253, allocations: 33.69 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.002531, allocations: 4 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.013e-05/0.002621, allocations: 45.69 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.002642, allocations: 55.34 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.533e-05/0.002678, allocations: 106.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.002682, allocations: 25.7 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.002693, allocations: 88.11 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.002719, allocations: 7.953 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.002741, allocations: 13.72 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.002775, allocations: 318.8 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-06/0.002781, allocations: 0 / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-06/0.002788, allocations: 7.984 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.041e-05/0.002808, allocations: 20.84 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00281, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.193e-05/0.002842, allocations: 41.62 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.002853, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.002857, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.002865, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.97e-05/0.002895, allocations: 8 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.002898, allocations: 0 / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.002909, allocations: 7.891 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-06/0.002912, allocations: 0 / 0.5464 GB, free: 28.43 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.418e-05/0.002946, allocations: 121.8 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-06/0.00295, allocations: 4.266 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.002967, allocations: 8 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.002969, allocations: 7.984 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.002971, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.002974, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.287e-05/0.003016, allocations: 65.84 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.003018, allocations: 3.984 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.00303, allocations: 6.75 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.003034, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.003035, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.003039, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.003039, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00304, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.788e-05/0.003087, allocations: 76.98 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.003094, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-06/0.003101, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.003113, allocations: 7.984 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.003114, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.526e-06/0.003122, allocations: 8.859 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003122, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.552e-05/0.003208, allocations: 4 kB / 0.5467 GB, free: 28.07 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.592e-05/0.003264, allocations: 88.42 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.003316, allocations: 20.78 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.003318, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.003327, allocations: 12.86 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.418e-05/0.003391, allocations: 3.938 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.003558, allocations: 142.2 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.003586, allocations: 63.34 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.003615, allocations: 51.38 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.003615, allocations: 0 / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of Templates: time 0.001054/0.004669, allocations: 0.5024 MB / 0.5476 GB, free: 27.14 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 > 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: 4.083594087511301]