Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.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.001265/0.001265, allocations: 108.3 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.00114/0.00114, allocations: 217.3 kB / 23 MB, free: 2.938 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.116/1.116, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.769/0.769, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine") [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.001712/0.001712, allocations: 77.59 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1303, allocations: 73.99 MB / 0.8422 GB, free: 9.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine): time 0.002471/0.1328, allocations: 1.82 MB / 0.844 GB, free: 8.012 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.1336, allocations: 0.5454 MB / 0.8445 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1336, allocations: 0.625 kB / 0.8445 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1337, allocations: 11.86 kB / 0.8445 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1341, allocations: 69.33 kB / 0.8446 GB, free: 7.387 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1343, allocations: 60.86 kB / 0.8446 GB, free: 7.332 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1345, allocations: 172 kB / 0.8448 GB, free: 7.164 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1346, allocations: 5.312 kB / 0.8448 GB, free: 7.16 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.1347, allocations: 72.34 kB / 0.8449 GB, free: 7.09 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1349, allocations: 88.16 kB / 0.845 GB, free: 7.004 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1349, allocations: 4.625 kB / 0.845 GB, free: 7 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.135, allocations: 8 kB / 0.845 GB, free: 6.992 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.135, allocations: 32.52 kB / 0.845 GB, free: 6.961 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.1351, allocations: 48.53 kB / 0.845 GB, free: 6.914 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1352, allocations: 95.58 kB / 0.8451 GB, free: 6.82 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1352, allocations: 0.5938 kB / 0.8451 GB, free: 6.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1352, allocations: 0 / 0.8451 GB, free: 6.82 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1352, allocations: 0.6875 kB / 0.8451 GB, free: 6.82 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.0006754/0.1359, allocations: 396.7 kB / 0.8455 GB, free: 6.398 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1359, allocations: 12.72 kB / 0.8455 GB, free: 6.387 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.136, allocations: 16.84 kB / 0.8455 GB, free: 6.371 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1362, allocations: 147.5 kB / 0.8457 GB, free: 6.203 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1362, allocations: 8.312 kB / 0.8457 GB, free: 6.195 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1363, allocations: 16.75 kB / 0.8457 GB, free: 6.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1364, allocations: 98.2 kB / 0.8458 GB, free: 6.078 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1365, allocations: 0.625 kB / 0.8458 GB, free: 6.078 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1365, allocations: 4 kB / 0.8458 GB, free: 6.074 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1365, allocations: 8.672 kB / 0.8458 GB, free: 6.066 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1366, allocations: 80.98 kB / 0.8459 GB, free: 5.988 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.137, allocations: 285 kB / 0.8462 GB, free: 5.68 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1373, allocations: 131.1 kB / 0.8463 GB, free: 5.543 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.1374, allocations: 53.34 kB / 0.8463 GB, free: 5.488 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1374, allocations: 4.688 kB / 0.8463 GB, free: 5.484 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1376, allocations: 111.9 kB / 0.8464 GB, free: 5.363 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.1376, allocations: 0.6562 kB / 0.8464 GB, free: 5.363 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003735/0.138, allocations: 197.6 kB / 0.8466 GB, free: 5.168 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.138, allocations: 55.41 kB / 0.8467 GB, free: 5.102 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1381, allocations: 158 kB / 0.8468 GB, free: 4.941 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1381, allocations: 30.3 kB / 0.8469 GB, free: 4.906 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1382, allocations: 112.1 kB / 0.847 GB, free: 4.793 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1382, allocations: 40.27 kB / 0.847 GB, free: 4.754 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.1383, allocations: 37.7 kB / 0.847 GB, free: 4.711 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.1383, allocations: 331.4 kB / 0.8474 GB, free: 4.379 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1384, allocations: 82.28 kB / 0.8474 GB, free: 4.293 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1386, allocations: 202.8 kB / 0.8476 GB, free: 4.059 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1388, allocations: 142.2 kB / 0.8478 GB, free: 3.914 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1388, allocations: 0 / 0.8478 GB, free: 3.914 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002634/0.139, allocations: 242.1 kB / 0.848 GB, free: 3.66 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.1391, allocations: 29.7 kB / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1391, allocations: 4.609 kB / 0.848 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1391, allocations: 4.812 kB / 0.848 GB, free: 3.617 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1392, allocations: 32.53 kB / 0.8481 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1392, allocations: 3.938 kB / 0.8481 GB, free: 3.582 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.1393, allocations: 24.5 kB / 0.8481 GB, free: 3.559 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1393, allocations: 4.594 kB / 0.8481 GB, free: 3.555 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.983e-05/0.1394, allocations: 126.4 kB / 0.8482 GB, free: 3.422 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1394, allocations: 8.578 kB / 0.8482 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1397, allocations: 179.3 kB / 0.8484 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1397, allocations: 7.938 kB / 0.8484 GB, free: 3.227 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1397, allocations: 0.6562 kB / 0.8484 GB, free: 3.227 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1397, allocations: 3.984 kB / 0.8484 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1398, allocations: 157.7 kB / 0.8486 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1398, allocations: 0.75 kB / 0.8486 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.1399, allocations: 27.98 kB / 0.8486 GB, free: 3.012 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1399, allocations: 0.8125 kB / 0.8486 GB, free: 3.012 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1399, allocations: 3.984 kB / 0.8486 GB, free: 3.008 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1399, allocations: 1.781 kB / 0.8486 GB, free: 3.008 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1399, allocations: 3.938 kB / 0.8486 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1403, allocations: 254.2 kB / 0.8488 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.1403, allocations: 7.953 kB / 0.8489 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1403, allocations: 3.984 kB / 0.8489 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.1404, allocations: 17.08 kB / 0.8489 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.1404, allocations: 7.984 kB / 0.8489 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1405, allocations: 11.98 kB / 0.8489 GB, free: 2.691 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.182e-05/0.1405, allocations: 121.2 kB / 0.849 GB, free: 2.574 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1405, allocations: 0 / 0.849 GB, free: 2.574 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001376/0.1407, allocations: 32 kB / 0.849 GB, free: 2.543 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.0001087/0.1408, allocations: 99.19 kB / 0.8491 GB, free: 2.438 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.1411, allocations: 218 kB / 0.8493 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1411, allocations: 0 / 0.8493 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.1412, allocations: 62.52 kB / 0.8494 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1414, allocations: 41.94 kB / 0.8494 GB, free: 2.113 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1419, allocations: 363.7 kB / 0.8498 GB, free: 1.727 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.142, allocations: 99.25 kB / 0.8499 GB, free: 1.609 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1421, allocations: 19.44 kB / 0.8499 GB, free: 1.594 MB / 474.8 MB Notification: Performance of SimCode: time 5.72e-07/0.1421, allocations: 0.6562 kB / 0.8499 GB, free: 1.594 MB / 474.8 MB Notification: Performance of Templates: time 0.002998/0.1451, allocations: 2.05 MB / 0.8519 GB, free: 15.64 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.299139943905175]