Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.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.001079/0.001079, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 13.93 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.001179/0.001179, allocations: 215.5 kB / 23 MB, free: 2.961 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.079/1.079, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.7857/0.7857, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 82.03 kB / 0.7699 GB, free: 19.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1365, allocations: 73.99 MB / 0.8421 GB, free: 9.922 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr): time 0.001449/0.1379, allocations: 0.5913 MB / 0.8427 GB, free: 9.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.829e-05/0.138, allocations: 8.438 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.138, allocations: 0.625 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.138, allocations: 0.5938 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.138, allocations: 7.938 kB / 0.8427 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.705e-05/0.1381, allocations: 8.516 kB / 0.8427 GB, free: 9.324 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.1382, allocations: 8.719 kB / 0.8427 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.1382, allocations: 11.92 kB / 0.8427 GB, free: 9.305 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1382, allocations: 0.7188 kB / 0.8427 GB, free: 9.305 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.1383, allocations: 11.92 kB / 0.8427 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1383, allocations: 0.5625 kB / 0.8427 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-06/0.1383, allocations: 0 / 0.8427 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.1383, allocations: 8.656 kB / 0.8427 GB, free: 9.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1384, allocations: 8.422 kB / 0.8428 GB, free: 9.277 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.651e-05/0.1384, allocations: 11.92 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1384, allocations: 0.625 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1384, allocations: 4.562 kB / 0.8428 GB, free: 9.262 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1384, allocations: 0 / 0.8428 GB, free: 9.262 MB / 474.8 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.0003621/0.1388, allocations: 258.9 kB / 0.843 GB, free: 8.977 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1388, allocations: 8.531 kB / 0.843 GB, free: 8.969 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.1389, allocations: 1.625 kB / 0.843 GB, free: 8.969 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.139, allocations: 110.5 kB / 0.8431 GB, free: 8.836 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.139, allocations: 1 kB / 0.8431 GB, free: 8.836 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.139, allocations: 8.375 kB / 0.8431 GB, free: 8.828 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.59e-05/0.1391, allocations: 34.75 kB / 0.8432 GB, free: 8.789 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1391, allocations: 4.797 kB / 0.8432 GB, free: 8.785 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1391, allocations: 3.938 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1391, allocations: 0.625 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.1391, allocations: 19.92 kB / 0.8432 GB, free: 8.762 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.1393, allocations: 102 kB / 0.8433 GB, free: 8.633 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1396, allocations: 51.25 kB / 0.8433 GB, free: 8.574 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.1396, allocations: 9.484 kB / 0.8434 GB, free: 8.562 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.1396, allocations: 3.938 kB / 0.8434 GB, free: 8.559 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.1396, allocations: 31.25 kB / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 3.156e-06/0.1396, allocations: 0.6875 kB / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001501/0.1398, allocations: 61.56 kB / 0.8435 GB, free: 8.453 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1398, allocations: 52.03 kB / 0.8435 GB, free: 8.391 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.1399, allocations: 105.8 kB / 0.8436 GB, free: 8.277 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1399, allocations: 26.45 kB / 0.8436 GB, free: 8.246 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.1399, allocations: 80.14 kB / 0.8437 GB, free: 8.164 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1399, allocations: 20.41 kB / 0.8437 GB, free: 8.145 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.14, allocations: 10.38 kB / 0.8437 GB, free: 8.129 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.14, allocations: 322.8 kB / 0.844 GB, free: 7.805 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.14, allocations: 0.625 kB / 0.844 GB, free: 7.805 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.1401, allocations: 4 kB / 0.844 GB, free: 7.801 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.1401, allocations: 21.61 kB / 0.8441 GB, free: 7.777 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1401, allocations: 0.625 kB / 0.8441 GB, free: 7.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.846e-05/0.1402, allocations: 49.69 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1402, allocations: 6.844 kB / 0.8441 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1402, allocations: 4.625 kB / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1402, allocations: 3.938 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.1402, allocations: 4.5 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1402, allocations: 0.75 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.1403, allocations: 3.984 kB / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.1403, allocations: 0.6875 kB / 0.8441 GB, free: 7.703 MB / 474.8 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 5.991e-05/0.1403, allocations: 114.4 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-06/0.1403, allocations: 3.953 kB / 0.8443 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.1403, allocations: 4.594 kB / 0.8443 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1403, allocations: 12.56 kB / 0.8443 GB, free: 7.559 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1403, allocations: 0 / 0.8443 GB, free: 7.559 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1404, allocations: 0.625 kB / 0.8443 GB, free: 7.559 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.081e-05/0.1404, allocations: 105.3 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1404, allocations: 0.7188 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.1404, allocations: 7.938 kB / 0.8444 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1404, allocations: 0.9531 kB / 0.8444 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1404, allocations: 0 / 0.8444 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1404, allocations: 4.688 kB / 0.8444 GB, free: 7.414 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1404, allocations: 4.562 kB / 0.8444 GB, free: 7.41 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.1405, allocations: 77.05 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.1405, allocations: 4.453 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1405, allocations: 4.625 kB / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.1406, allocations: 0 / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1406, allocations: 8.578 kB / 0.8445 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.1406, allocations: 0 / 0.8445 GB, free: 7.301 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.058e-05/0.1406, allocations: 87.88 kB / 0.8446 GB, free: 7.215 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1406, allocations: 0 / 0.8446 GB, free: 7.215 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001049/0.1407, allocations: 0.75 kB / 0.8446 GB, free: 7.215 MB / 474.8 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 9.578e-05/0.1408, allocations: 107.7 kB / 0.8447 GB, free: 7.102 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.1409, allocations: 16.67 kB / 0.8447 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1409, allocations: 0 / 0.8447 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.1409, allocations: 4.562 kB / 0.8447 GB, free: 7.082 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.141, allocations: 4.562 kB / 0.8447 GB, free: 7.078 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1413, allocations: 139.2 kB / 0.8448 GB, free: 6.91 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.1413, allocations: 67.78 kB / 0.8449 GB, free: 6.824 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1413, allocations: 7.938 kB / 0.8449 GB, free: 6.816 MB / 474.8 MB Notification: Performance of SimCode: time 9.32e-07/0.1413, allocations: 0.5938 kB / 0.8449 GB, free: 6.816 MB / 474.8 MB Notification: Performance of Templates: time 0.001527/0.1429, allocations: 0.505 MB / 0.8454 GB, free: 6.332 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.042607672512531]