Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.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.001775/0.001775, 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.001185/0.001185, allocations: 215.5 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 0.9943/0.9943, 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.8151/0.8151, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference") [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.00162/0.00162, allocations: 73.73 kB / 0.7699 GB, free: 20.24 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1123, allocations: 74 MB / 0.8421 GB, free: 10.38 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference): time 0.002246/0.1145, allocations: 1.808 MB / 0.8439 GB, free: 8.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000773/0.1153, allocations: 0.5409 MB / 0.8444 GB, free: 8.027 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.1154, allocations: 8.5 kB / 0.8444 GB, free: 8.02 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.109e-05/0.1155, allocations: 12.45 kB / 0.8445 GB, free: 8.008 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1158, allocations: 72.84 kB / 0.8445 GB, free: 7.938 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.1159, allocations: 61.47 kB / 0.8446 GB, free: 7.883 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1161, allocations: 171.9 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1162, allocations: 1.906 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.1162, allocations: 71.77 kB / 0.8448 GB, free: 7.645 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1165, allocations: 84.17 kB / 0.8449 GB, free: 7.562 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1165, allocations: 8.688 kB / 0.8449 GB, free: 7.555 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.1165, allocations: 8 kB / 0.8449 GB, free: 7.547 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1166, allocations: 28.5 kB / 0.8449 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1166, allocations: 48.38 kB / 0.845 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1167, allocations: 99.56 kB / 0.8451 GB, free: 7.375 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1167, allocations: 0.7188 kB / 0.8451 GB, free: 7.375 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1167, allocations: 4 kB / 0.8451 GB, free: 7.371 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1168, allocations: 0.625 kB / 0.8451 GB, free: 7.371 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.0005959/0.1173, allocations: 393.2 kB / 0.8455 GB, free: 6.953 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1174, allocations: 8.031 kB / 0.8455 GB, free: 6.945 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.1174, allocations: 17.44 kB / 0.8455 GB, free: 6.93 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1176, allocations: 147.5 kB / 0.8456 GB, free: 6.762 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1176, allocations: 8.375 kB / 0.8456 GB, free: 6.754 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1176, allocations: 12.66 kB / 0.8456 GB, free: 6.742 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1178, allocations: 102.2 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1178, allocations: 0.5938 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1178, allocations: 0 / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1178, allocations: 0.625 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.118, allocations: 84.48 kB / 0.8458 GB, free: 6.555 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1184, allocations: 288.8 kB / 0.8461 GB, free: 6.242 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1186, allocations: 127.8 kB / 0.8462 GB, free: 6.109 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.1187, allocations: 57.5 kB / 0.8463 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1187, allocations: 0.625 kB / 0.8463 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1189, allocations: 112 kB / 0.8464 GB, free: 5.93 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1189, allocations: 0 / 0.8464 GB, free: 5.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003561/0.1192, allocations: 198.9 kB / 0.8466 GB, free: 5.73 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1193, allocations: 56.16 kB / 0.8466 GB, free: 5.664 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1194, allocations: 161.1 kB / 0.8468 GB, free: 5.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1194, allocations: 30.33 kB / 0.8468 GB, free: 5.465 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.1194, allocations: 108.1 kB / 0.8469 GB, free: 5.355 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1195, allocations: 52.25 kB / 0.847 GB, free: 5.305 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1195, allocations: 34.3 kB / 0.847 GB, free: 5.266 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.1196, allocations: 330.8 kB / 0.8473 GB, free: 4.934 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1197, allocations: 82.81 kB / 0.8474 GB, free: 4.848 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.1198, allocations: 198.5 kB / 0.8476 GB, free: 4.617 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.12, allocations: 145.8 kB / 0.8477 GB, free: 4.469 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.12, allocations: 0.7188 kB / 0.8477 GB, free: 4.469 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002603/0.1203, allocations: 241.9 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1203, allocations: 36.05 kB / 0.848 GB, free: 4.176 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1203, allocations: 4.625 kB / 0.848 GB, free: 4.172 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1203, allocations: 0 / 0.848 GB, free: 4.172 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1204, allocations: 32.45 kB / 0.848 GB, free: 4.141 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1204, allocations: 4.562 kB / 0.848 GB, free: 4.137 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.1205, allocations: 24.39 kB / 0.848 GB, free: 4.113 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1205, allocations: 8.562 kB / 0.8481 GB, free: 4.105 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.224e-05/0.1206, allocations: 122.9 kB / 0.8482 GB, free: 3.977 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1206, allocations: 8.516 kB / 0.8482 GB, free: 3.969 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.1209, allocations: 175.5 kB / 0.8483 GB, free: 3.793 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1209, allocations: 3.984 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1209, allocations: 0.6562 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1209, allocations: 7.984 kB / 0.8484 GB, free: 3.781 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.121, allocations: 153.9 kB / 0.8485 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.121, allocations: 0 / 0.8485 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1211, allocations: 20.58 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1211, allocations: 0.5938 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1211, allocations: 4.625 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1211, allocations: 0 / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1211, allocations: 4.609 kB / 0.8485 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1214, allocations: 256.5 kB / 0.8488 GB, free: 3.309 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.1214, allocations: 12.64 kB / 0.8488 GB, free: 3.297 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1215, allocations: 11.98 kB / 0.8488 GB, free: 3.285 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.1215, allocations: 8.578 kB / 0.8488 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1216, allocations: 16.61 kB / 0.8488 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.1216, allocations: 3.984 kB / 0.8488 GB, free: 3.258 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.1216, allocations: 119.9 kB / 0.8489 GB, free: 3.141 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1216, allocations: 0 / 0.8489 GB, free: 3.141 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001347/0.1218, allocations: 32.75 kB / 0.849 GB, free: 3.109 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.0001014/0.1219, allocations: 104.5 kB / 0.8491 GB, free: 3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1221, allocations: 217.6 kB / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1221, allocations: 0 / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.1222, allocations: 64.98 kB / 0.8493 GB, free: 2.707 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1224, allocations: 46.72 kB / 0.8494 GB, free: 2.664 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.123, allocations: 356.4 kB / 0.8497 GB, free: 2.285 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.123, allocations: 103.4 kB / 0.8498 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1231, allocations: 19.44 kB / 0.8498 GB, free: 2.148 MB / 474.8 MB Notification: Performance of SimCode: time 6.61e-07/0.1231, allocations: 0.5625 kB / 0.8498 GB, free: 2.148 MB / 474.8 MB Notification: Performance of Templates: time 0.00273/0.1258, allocations: 2.052 MB / 0.8519 GB, free: 200 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.196669788099825]