Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.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.001162/0.001162, allocations: 108.3 kB / 19.71 MB, free: 432 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.001299/0.001299, allocations: 221.4 kB / 23.01 MB, free: 2.969 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.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7434/0.7434, allocations: 312.3 MB / 0.6109 GB, free: 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.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") [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.001869/0.001869, allocations: 74.7 kB / 0.7699 GB, free: 19.6 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1246, allocations: 74 MB / 0.8422 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase): time 0.002402/0.127, allocations: 1.814 MB / 0.844 GB, free: 7.922 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.1279, allocations: 0.5534 MB / 0.8445 GB, free: 7.367 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.1279, allocations: 4.656 kB / 0.8445 GB, free: 7.363 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.128, allocations: 11.86 kB / 0.8445 GB, free: 7.352 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1284, allocations: 65.45 kB / 0.8446 GB, free: 7.289 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1285, allocations: 61.55 kB / 0.8446 GB, free: 7.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1287, allocations: 168 kB / 0.8448 GB, free: 7.066 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1288, allocations: 5.312 kB / 0.8448 GB, free: 7.062 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.1289, allocations: 72.34 kB / 0.8449 GB, free: 6.992 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1291, allocations: 80.16 kB / 0.845 GB, free: 6.914 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1291, allocations: 8.594 kB / 0.845 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.1292, allocations: 8 kB / 0.845 GB, free: 6.898 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.1292, allocations: 32.52 kB / 0.845 GB, free: 6.867 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.1293, allocations: 52.41 kB / 0.845 GB, free: 6.816 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1294, allocations: 95.52 kB / 0.8451 GB, free: 6.723 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1294, allocations: 4.625 kB / 0.8451 GB, free: 6.719 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1294, allocations: 0 / 0.8451 GB, free: 6.719 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1294, allocations: 0.5 kB / 0.8451 GB, free: 6.719 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.0006466/0.1301, allocations: 389.4 kB / 0.8455 GB, free: 6.305 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1301, allocations: 8.031 kB / 0.8455 GB, free: 6.297 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1302, allocations: 17.56 kB / 0.8455 GB, free: 6.281 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1303, allocations: 162.7 kB / 0.8457 GB, free: 6.098 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1304, allocations: 5 kB / 0.8457 GB, free: 6.094 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1304, allocations: 16.75 kB / 0.8457 GB, free: 6.078 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1306, allocations: 98.2 kB / 0.8458 GB, free: 5.977 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1306, allocations: 0 / 0.8458 GB, free: 5.977 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1306, allocations: 4.5 kB / 0.8458 GB, free: 5.973 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1306, allocations: 0.625 kB / 0.8458 GB, free: 5.973 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1308, allocations: 84.45 kB / 0.8459 GB, free: 5.891 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1312, allocations: 277 kB / 0.8462 GB, free: 5.59 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1314, allocations: 127.7 kB / 0.8463 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.1315, allocations: 53.41 kB / 0.8463 GB, free: 5.402 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1315, allocations: 0.5625 kB / 0.8463 GB, free: 5.402 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1317, allocations: 119.8 kB / 0.8464 GB, free: 5.273 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.1317, allocations: 0.5938 kB / 0.8464 GB, free: 5.273 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003663/0.1321, allocations: 202.4 kB / 0.8466 GB, free: 5.074 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1321, allocations: 56 kB / 0.8467 GB, free: 5.008 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1322, allocations: 157.5 kB / 0.8468 GB, free: 4.848 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1322, allocations: 30.55 kB / 0.8469 GB, free: 4.812 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.1323, allocations: 104.1 kB / 0.847 GB, free: 4.707 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1323, allocations: 56.23 kB / 0.847 GB, free: 4.652 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1324, allocations: 38.3 kB / 0.8471 GB, free: 4.609 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.1324, allocations: 326.8 kB / 0.8474 GB, free: 4.281 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1326, allocations: 82.22 kB / 0.8475 GB, free: 4.195 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1327, allocations: 206.7 kB / 0.8476 GB, free: 3.957 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1329, allocations: 142.4 kB / 0.8478 GB, free: 3.812 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1329, allocations: 0.7812 kB / 0.8478 GB, free: 3.812 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002665/0.1332, allocations: 241.4 kB / 0.848 GB, free: 3.559 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.1332, allocations: 34.33 kB / 0.848 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1332, allocations: 0 / 0.848 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1332, allocations: 0.5938 kB / 0.848 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1333, allocations: 36.41 kB / 0.8481 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1333, allocations: 0 / 0.8481 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.1334, allocations: 21.16 kB / 0.8481 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1334, allocations: 4 kB / 0.8481 GB, free: 3.461 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: 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 7.933e-05/0.1335, allocations: 122.4 kB / 0.8482 GB, free: 3.332 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.1335, allocations: 8.609 kB / 0.8482 GB, free: 3.324 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1338, allocations: 179.5 kB / 0.8484 GB, free: 3.145 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1338, allocations: 0 / 0.8484 GB, free: 3.145 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1338, allocations: 4.625 kB / 0.8484 GB, free: 3.141 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1338, allocations: 7.922 kB / 0.8484 GB, free: 3.133 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1339, allocations: 157.7 kB / 0.8486 GB, free: 2.949 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1339, allocations: 0.5 kB / 0.8486 GB, free: 2.949 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.134, allocations: 20.58 kB / 0.8486 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.134, allocations: 4 kB / 0.8486 GB, free: 2.926 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.134, allocations: 8.484 kB / 0.8486 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.134, allocations: 0.6562 kB / 0.8486 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.134, allocations: 0 / 0.8486 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1344, allocations: 254.6 kB / 0.8488 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.1344, allocations: 11.98 kB / 0.8489 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1344, allocations: 8.766 kB / 0.8489 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.1345, allocations: 9.266 kB / 0.8489 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.1345, allocations: 15.98 kB / 0.8489 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1345, allocations: 7.984 kB / 0.8489 GB, free: 2.602 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.1346, allocations: 119.2 kB / 0.849 GB, free: 2.484 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1346, allocations: 0.8125 kB / 0.849 GB, free: 2.484 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001421/0.1348, allocations: 31.94 kB / 0.849 GB, free: 2.453 MB / 474.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.0001038/0.1349, allocations: 104.4 kB / 0.8491 GB, free: 2.344 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1351, allocations: 214.1 kB / 0.8493 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1351, allocations: 0 / 0.8493 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.1352, allocations: 61.08 kB / 0.8494 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1355, allocations: 47.66 kB / 0.8494 GB, free: 2.016 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.136, allocations: 354.5 kB / 0.8498 GB, free: 1.637 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.1361, allocations: 102.9 kB / 0.8499 GB, free: 1.516 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1362, allocations: 17 kB / 0.8499 GB, free: 1.504 MB / 474.8 MB Notification: Performance of SimCode: time 7.11e-07/0.1362, allocations: 0 / 0.8499 GB, free: 1.504 MB / 474.8 MB Notification: Performance of Templates: time 0.003106/0.1393, allocations: 2.056 MB / 0.8519 GB, free: 15.54 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.093506901524961]