Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.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.001388/0.001388, 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.00184/0.00184, 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.036/1.036, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.8258/0.8258, allocations: 312.3 MB / 0.6108 GB, free: 97.45 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.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") [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.001477/0.001477, allocations: 79.91 kB / 0.7699 GB, free: 20.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 73.99 MB / 0.8422 GB, free: 10.23 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon): time 0.002498/0.1248, allocations: 1.833 MB / 0.8439 GB, free: 8.398 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.1256, allocations: 0.5418 MB / 0.8445 GB, free: 7.855 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.1257, allocations: 4.625 kB / 0.8445 GB, free: 7.852 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.1258, allocations: 15.86 kB / 0.8445 GB, free: 7.836 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1261, allocations: 68.91 kB / 0.8446 GB, free: 7.77 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1263, allocations: 57.94 kB / 0.8446 GB, free: 7.715 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1264, allocations: 167.8 kB / 0.8448 GB, free: 7.551 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1265, allocations: 5.938 kB / 0.8448 GB, free: 7.547 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.1266, allocations: 75.7 kB / 0.8448 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1268, allocations: 84.14 kB / 0.8449 GB, free: 7.391 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1268, allocations: 8.5 kB / 0.8449 GB, free: 7.383 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.1268, allocations: 8.5 kB / 0.8449 GB, free: 7.375 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1269, allocations: 32.53 kB / 0.845 GB, free: 7.344 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.127, allocations: 47.78 kB / 0.845 GB, free: 7.297 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1271, allocations: 100.3 kB / 0.8451 GB, free: 7.199 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1271, allocations: 0 / 0.8451 GB, free: 7.199 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1271, allocations: 0.5625 kB / 0.8451 GB, free: 7.199 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1271, allocations: 0 / 0.8451 GB, free: 7.199 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.0006029/0.1277, allocations: 393.3 kB / 0.8455 GB, free: 6.781 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1278, allocations: 8.625 kB / 0.8455 GB, free: 6.773 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1278, allocations: 12.84 kB / 0.8455 GB, free: 6.762 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.128, allocations: 151.5 kB / 0.8457 GB, free: 6.59 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.128, allocations: 8.969 kB / 0.8457 GB, free: 6.582 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.128, allocations: 8.125 kB / 0.8457 GB, free: 6.574 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1282, allocations: 102.2 kB / 0.8458 GB, free: 6.469 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1282, allocations: 0.6875 kB / 0.8458 GB, free: 6.469 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1282, allocations: 4.594 kB / 0.8458 GB, free: 6.465 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1282, allocations: 0 / 0.8458 GB, free: 6.465 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1284, allocations: 85.02 kB / 0.8459 GB, free: 6.383 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1288, allocations: 288.9 kB / 0.8461 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.129, allocations: 131 kB / 0.8463 GB, free: 5.934 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.1291, allocations: 57.94 kB / 0.8463 GB, free: 5.875 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1291, allocations: 0 / 0.8463 GB, free: 5.875 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1293, allocations: 112.5 kB / 0.8464 GB, free: 5.754 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1293, allocations: 0 / 0.8464 GB, free: 5.754 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003628/0.1297, allocations: 202.8 kB / 0.8466 GB, free: 5.555 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1297, allocations: 56.03 kB / 0.8467 GB, free: 5.488 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1298, allocations: 156.5 kB / 0.8468 GB, free: 5.328 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1298, allocations: 30.33 kB / 0.8468 GB, free: 5.293 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.1299, allocations: 108.7 kB / 0.8469 GB, free: 5.184 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1299, allocations: 51.56 kB / 0.847 GB, free: 5.133 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.13, allocations: 38.2 kB / 0.847 GB, free: 5.09 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.13, allocations: 331.4 kB / 0.8474 GB, free: 4.758 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1302, allocations: 82.25 kB / 0.8474 GB, free: 4.672 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1303, allocations: 200.9 kB / 0.8476 GB, free: 4.441 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1305, allocations: 139.8 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1305, allocations: 0 / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002623/0.1307, allocations: 244.3 kB / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.1308, allocations: 34.3 kB / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1308, allocations: 0 / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1308, allocations: 0.75 kB / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1309, allocations: 31.92 kB / 0.8481 GB, free: 3.973 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1309, allocations: 4.578 kB / 0.8481 GB, free: 3.969 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.131, allocations: 28.56 kB / 0.8481 GB, free: 3.941 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.131, allocations: 8.594 kB / 0.8481 GB, free: 3.934 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.856e-05/0.1311, allocations: 118.5 kB / 0.8482 GB, free: 3.809 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1311, allocations: 12.17 kB / 0.8482 GB, free: 3.797 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1314, allocations: 175.6 kB / 0.8484 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1314, allocations: 3.938 kB / 0.8484 GB, free: 3.617 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1314, allocations: 0.625 kB / 0.8484 GB, free: 3.617 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1314, allocations: 4.484 kB / 0.8484 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1315, allocations: 149.2 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1315, allocations: 0.5625 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.1316, allocations: 24.52 kB / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1316, allocations: 0.5312 kB / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1316, allocations: 0.625 kB / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1316, allocations: 4 kB / 0.8486 GB, free: 3.41 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1316, allocations: 4.578 kB / 0.8486 GB, free: 3.406 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1319, allocations: 258 kB / 0.8488 GB, free: 3.137 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.132, allocations: 12.61 kB / 0.8488 GB, free: 3.125 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.132, allocations: 7.984 kB / 0.8488 GB, free: 3.117 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.132, allocations: 12.73 kB / 0.8488 GB, free: 3.105 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.1321, allocations: 12.61 kB / 0.8489 GB, free: 3.094 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1321, allocations: 7.984 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.303e-05/0.1322, allocations: 122.7 kB / 0.849 GB, free: 2.969 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1322, allocations: 0 / 0.849 GB, free: 2.969 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001409/0.1323, allocations: 32.62 kB / 0.849 GB, free: 2.938 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.0001037/0.1324, allocations: 104.4 kB / 0.8491 GB, free: 2.828 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.1327, allocations: 213.6 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1327, allocations: 0.7188 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.1328, allocations: 68.5 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.133, allocations: 41.97 kB / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1336, allocations: 355.3 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.286e-05/0.1336, allocations: 98.78 kB / 0.8499 GB, free: 2.004 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1337, allocations: 20.12 kB / 0.8499 GB, free: 1.988 MB / 474.8 MB Notification: Performance of SimCode: time 4.61e-07/0.1337, allocations: 4 kB / 0.8499 GB, free: 1.984 MB / 474.8 MB Notification: Performance of Templates: time 0.002763/0.1364, allocations: 2.044 MB / 0.8519 GB, free: 32 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.08259142935276]