Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.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.002529/0.002529, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.003236/0.003236, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.74/1.74, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.435/1.435, allocations: 316.8 MB / 0.6144 GB, free: 93.52 MB / 410.7 MB " [Timeout remaining time 178] 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.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine") [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.003981/0.003981, allocations: 81.88 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1731, allocations: 73.98 MB / 0.8473 GB, free: 5.148 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine): time 0.003539/0.1766, allocations: 1.829 MB / 0.8491 GB, free: 3.32 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1779, allocations: 0.5493 MB / 0.8496 GB, free: 2.77 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.178, allocations: 2.375 kB / 0.8496 GB, free: 2.77 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1781, allocations: 11.86 kB / 0.8496 GB, free: 2.758 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1785, allocations: 59.61 kB / 0.8497 GB, free: 2.699 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1787, allocations: 72.98 kB / 0.8497 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.179, allocations: 163.3 kB / 0.8499 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.179, allocations: 6.562 kB / 0.8499 GB, free: 2.469 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1792, allocations: 71.75 kB / 0.85 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.1795, allocations: 79.72 kB / 0.85 GB, free: 2.32 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.1795, allocations: 4.938 kB / 0.85 GB, free: 2.316 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.338e-05/0.1795, allocations: 8 kB / 0.8501 GB, free: 2.309 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.1796, allocations: 35.83 kB / 0.8501 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1798, allocations: 52.38 kB / 0.8501 GB, free: 2.223 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1799, allocations: 96.2 kB / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.18, allocations: 0 / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.18, allocations: 0.5938 kB / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.18, allocations: 4.5 kB / 0.8502 GB, free: 2.125 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000941/0.1809, allocations: 388.8 kB / 0.8506 GB, free: 1.711 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1809, allocations: 12.59 kB / 0.8506 GB, free: 1.699 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.181, allocations: 13.47 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1813, allocations: 150.8 kB / 0.8508 GB, free: 1.516 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1813, allocations: 9.094 kB / 0.8508 GB, free: 1.508 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1813, allocations: 12.12 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.1816, allocations: 106.2 kB / 0.8509 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1816, allocations: 0.5312 kB / 0.8509 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1816, allocations: 4.531 kB / 0.8509 GB, free: 1.383 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1817, allocations: 7.984 kB / 0.8509 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.182, allocations: 85.09 kB / 0.851 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.1825, allocations: 278.8 kB / 0.8513 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.183, allocations: 138.4 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1832, allocations: 52.81 kB / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1832, allocations: 4 kB / 0.8514 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.1835, allocations: 108.4 kB / 0.8515 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1835, allocations: 0 / 0.8515 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006729/0.1842, allocations: 207.1 kB / 0.8517 GB, free: 480 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1842, allocations: 55.41 kB / 0.8518 GB, free: 412 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1844, allocations: 154.5 kB / 0.8519 GB, free: 248 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.1845, allocations: 30.48 kB / 0.852 GB, free: 212 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1846, allocations: 108.1 kB / 0.8521 GB, free: 100 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.1846, allocations: 44.14 kB / 0.8521 GB, free: 56 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.1847, allocations: 37.92 kB / 0.8522 GB, free: 12 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1849, allocations: 327.4 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1851, allocations: 87.12 kB / 0.8525 GB, free: 15.59 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1854, allocations: 204.4 kB / 0.8527 GB, free: 15.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1858, allocations: 139.8 kB / 0.8529 GB, free: 15.21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1858, allocations: 0 / 0.8529 GB, free: 15.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005066/0.1863, allocations: 244.6 kB / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.1863, allocations: 33.7 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1863, allocations: 1.938 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1864, allocations: 4 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1865, allocations: 27.97 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1866, allocations: 0 / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1867, allocations: 24.38 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1867, allocations: 8.531 kB / 0.8532 GB, free: 14.86 MB / 490.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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001387/0.1869, allocations: 122.4 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1869, allocations: 8.547 kB / 0.8533 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.1874, allocations: 174.9 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1874, allocations: 8.578 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1874, allocations: 4.562 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1874, allocations: 0 / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1876, allocations: 149.8 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1876, allocations: 0 / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.1878, allocations: 24.64 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1878, allocations: 0.5312 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.1878, allocations: 12.52 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1878, allocations: 0 / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1878, allocations: 0.625 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.1885, allocations: 254 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1885, allocations: 16.59 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1885, allocations: 4 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1887, allocations: 16.61 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.1888, allocations: 16.59 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1888, allocations: 4 kB / 0.854 GB, free: 14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000126/0.1889, allocations: 122.5 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1889, allocations: 0.8438 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002232/0.1891, allocations: 32 kB / 0.8541 GB, free: 13.86 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001673/0.1893, allocations: 100 kB / 0.8542 GB, free: 13.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.1898, allocations: 214.2 kB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1898, allocations: 3.938 kB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.19, allocations: 65.02 kB / 0.8545 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1903, allocations: 41.58 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.1912, allocations: 326.7 kB / 0.8549 GB, free: 13.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1913, allocations: 103.2 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1914, allocations: 24.52 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.1915, allocations: 20 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of SimCode: time 4.1e-07/0.1915, allocations: 0 / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of Templates: time 0.2702/0.4617, allocations: 2.617 MB / 0.8575 GB, free: 28.25 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tyramine.Tyramine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.504595299018547]