Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.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.0009604/0.0009604, allocations: 104.3 kB / 19.71 MB, free: 440 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.001069/0.001069, allocations: 221.8 kB / 23.01 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.9912/0.9912, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7756/0.7756, allocations: 312.3 MB / 0.6108 GB, free: 97.65 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.DicobaltEdetate.DicobaltEdetate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate") [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.001293/0.001293, allocations: 67.45 kB / 0.7699 GB, free: 20.28 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 74 MB / 0.8422 GB, free: 10.41 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate): time 0.002323/0.1216, allocations: 1.822 MB / 0.8439 GB, free: 8.594 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.1223, allocations: 0.5455 MB / 0.8445 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.1223, allocations: 0.5 kB / 0.8445 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 6.989e-05/0.1224, allocations: 16.52 kB / 0.8445 GB, free: 8.031 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.1226, allocations: 72.72 kB / 0.8446 GB, free: 7.961 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.1228, allocations: 53.59 kB / 0.8446 GB, free: 7.91 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1229, allocations: 163.8 kB / 0.8448 GB, free: 7.75 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1229, allocations: 6.031 kB / 0.8448 GB, free: 7.746 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.123, allocations: 71.77 kB / 0.8448 GB, free: 7.676 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1232, allocations: 88.3 kB / 0.8449 GB, free: 7.59 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1232, allocations: 8.594 kB / 0.8449 GB, free: 7.582 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.1232, allocations: 8 kB / 0.8449 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1233, allocations: 36.52 kB / 0.845 GB, free: 7.539 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1233, allocations: 47.78 kB / 0.845 GB, free: 7.492 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1234, allocations: 92.2 kB / 0.8451 GB, free: 7.402 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1234, allocations: 4.531 kB / 0.8451 GB, free: 7.398 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1234, allocations: 0 / 0.8451 GB, free: 7.398 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1234, allocations: 0.9062 kB / 0.8451 GB, free: 7.398 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.0004776/0.1239, allocations: 396.9 kB / 0.8455 GB, free: 6.977 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.124, allocations: 11.89 kB / 0.8455 GB, free: 6.965 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.124, allocations: 21.39 kB / 0.8455 GB, free: 6.945 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1241, allocations: 151.5 kB / 0.8457 GB, free: 6.773 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1241, allocations: 4.375 kB / 0.8457 GB, free: 6.77 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1242, allocations: 12.72 kB / 0.8457 GB, free: 6.758 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1243, allocations: 101.4 kB / 0.8458 GB, free: 6.656 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1243, allocations: 0.5 kB / 0.8458 GB, free: 6.656 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1243, allocations: 8.656 kB / 0.8458 GB, free: 6.648 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1243, allocations: 0 / 0.8458 GB, free: 6.648 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1245, allocations: 76.98 kB / 0.8459 GB, free: 6.574 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1248, allocations: 284.8 kB / 0.8461 GB, free: 6.266 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.125, allocations: 139.9 kB / 0.8463 GB, free: 6.121 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.1251, allocations: 49.42 kB / 0.8463 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1251, allocations: 0 / 0.8463 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1253, allocations: 116.5 kB / 0.8464 GB, free: 5.945 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.1253, allocations: 0 / 0.8464 GB, free: 5.945 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003035/0.1256, allocations: 198.8 kB / 0.8466 GB, free: 5.746 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1256, allocations: 52.03 kB / 0.8467 GB, free: 5.684 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.1257, allocations: 158.2 kB / 0.8468 GB, free: 5.523 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1257, allocations: 37.69 kB / 0.8469 GB, free: 5.48 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1257, allocations: 104.9 kB / 0.847 GB, free: 5.375 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1258, allocations: 43.62 kB / 0.847 GB, free: 5.332 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1258, allocations: 46.23 kB / 0.847 GB, free: 5.281 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.1259, allocations: 327.4 kB / 0.8473 GB, free: 4.953 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.126, allocations: 86.39 kB / 0.8474 GB, free: 4.863 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1261, allocations: 198.1 kB / 0.8476 GB, free: 4.633 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1263, allocations: 146 kB / 0.8478 GB, free: 4.484 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1263, allocations: 0.7188 kB / 0.8478 GB, free: 4.484 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002364/0.1265, allocations: 237.4 kB / 0.848 GB, free: 4.234 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1265, allocations: 38.28 kB / 0.848 GB, free: 4.191 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1265, allocations: 0.5 kB / 0.848 GB, free: 4.191 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.1266, allocations: 0 / 0.848 GB, free: 4.191 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.1266, allocations: 28.52 kB / 0.8481 GB, free: 4.164 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1266, allocations: 0.625 kB / 0.8481 GB, free: 4.164 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.1267, allocations: 28.5 kB / 0.8481 GB, free: 4.137 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1267, allocations: 8 kB / 0.8481 GB, free: 4.129 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 6.571e-05/0.1268, allocations: 127 kB / 0.8482 GB, free: 3.996 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1268, allocations: 11.95 kB / 0.8482 GB, free: 3.984 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.127, allocations: 175.5 kB / 0.8484 GB, free: 3.809 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1271, allocations: 0.625 kB / 0.8484 GB, free: 3.809 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1271, allocations: 3.938 kB / 0.8484 GB, free: 3.805 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1271, allocations: 0.5 kB / 0.8484 GB, free: 3.805 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.992e-05/0.1271, allocations: 145.8 kB / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1271, allocations: 0 / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.1272, allocations: 32.47 kB / 0.8486 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1272, allocations: 0.5625 kB / 0.8486 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1272, allocations: 0.6562 kB / 0.8486 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1272, allocations: 4 kB / 0.8486 GB, free: 3.598 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1272, allocations: 0.5 kB / 0.8486 GB, free: 3.598 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1276, allocations: 264.7 kB / 0.8488 GB, free: 3.324 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.1276, allocations: 16.55 kB / 0.8488 GB, free: 3.309 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1276, allocations: 0 / 0.8488 GB, free: 3.309 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.1276, allocations: 16.58 kB / 0.8488 GB, free: 3.293 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.1277, allocations: 12.59 kB / 0.8489 GB, free: 3.281 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1277, allocations: 8.594 kB / 0.8489 GB, free: 3.273 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.1278, allocations: 121.9 kB / 0.849 GB, free: 3.156 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1278, allocations: 0.5 kB / 0.849 GB, free: 3.156 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000138/0.1279, allocations: 32.62 kB / 0.849 GB, free: 3.125 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.0001099/0.128, allocations: 106.2 kB / 0.8491 GB, free: 3.016 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.1283, allocations: 216.9 kB / 0.8493 GB, free: 2.789 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1283, allocations: 0.625 kB / 0.8493 GB, free: 2.789 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.1284, allocations: 60.39 kB / 0.8494 GB, free: 2.73 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1286, allocations: 45.81 kB / 0.8494 GB, free: 2.688 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1291, allocations: 360.7 kB / 0.8498 GB, free: 2.305 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.1292, allocations: 98.55 kB / 0.8499 GB, free: 2.188 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.1293, allocations: 20.05 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of SimCode: time 7.61e-07/0.1293, allocations: 0.5 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of Templates: time 0.002807/0.1321, allocations: 2.044 MB / 0.8519 GB, free: 224 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DicobaltEdetate.DicobaltEdetate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.937558432109654]