Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.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.001003/0.001003, 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.001633/0.001633, allocations: 216.4 kB / 23 MB, free: 2.949 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.018/1.018, allocations: 230.7 MB / 256.8 MB, free: 9.648 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.7994/0.7994, allocations: 312.3 MB / 0.6109 GB, free: 97.76 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.UraniumDioxide.UraniumDioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide") [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.001432/0.001432, allocations: 74.89 kB / 0.7699 GB, free: 20.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 74 MB / 0.8422 GB, free: 10.44 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide): time 0.002158/0.1237, allocations: 1.834 MB / 0.844 GB, free: 8.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.1244, allocations: 0.5461 MB / 0.8445 GB, free: 8.059 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.1245, allocations: 0 / 0.8445 GB, free: 8.059 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.1246, allocations: 16.45 kB / 0.8445 GB, free: 8.043 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.1249, allocations: 64.59 kB / 0.8446 GB, free: 7.98 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.125, allocations: 62.12 kB / 0.8447 GB, free: 7.926 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1252, allocations: 167.3 kB / 0.8448 GB, free: 7.762 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.1253, allocations: 9.891 kB / 0.8448 GB, free: 7.754 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.1253, allocations: 68.39 kB / 0.8449 GB, free: 7.688 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1255, allocations: 79.66 kB / 0.845 GB, free: 7.609 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1256, allocations: 8.562 kB / 0.845 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.1256, allocations: 8.688 kB / 0.845 GB, free: 7.594 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1256, allocations: 35.89 kB / 0.845 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1257, allocations: 52.34 kB / 0.8451 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1258, allocations: 92.08 kB / 0.8452 GB, free: 7.418 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1258, allocations: 4 kB / 0.8452 GB, free: 7.414 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1258, allocations: 0.5312 kB / 0.8452 GB, free: 7.414 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1258, allocations: 0.625 kB / 0.8452 GB, free: 7.414 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.0005864/0.1264, allocations: 400.5 kB / 0.8456 GB, free: 6.988 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1265, allocations: 8.531 kB / 0.8456 GB, free: 6.98 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.1265, allocations: 21.5 kB / 0.8456 GB, free: 6.961 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1267, allocations: 146.9 kB / 0.8457 GB, free: 6.793 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1267, allocations: 8.875 kB / 0.8457 GB, free: 6.785 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1267, allocations: 12.75 kB / 0.8457 GB, free: 6.773 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1269, allocations: 102.3 kB / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1269, allocations: 0 / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1269, allocations: 0.5625 kB / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1269, allocations: 0.5 kB / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.127, allocations: 88.42 kB / 0.8459 GB, free: 6.582 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.1277, allocations: 277 kB / 0.8462 GB, free: 6.281 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.128, allocations: 131.8 kB / 0.8463 GB, free: 6.145 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.128, allocations: 49.33 kB / 0.8464 GB, free: 6.094 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1281, allocations: 0.5312 kB / 0.8464 GB, free: 6.094 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1282, allocations: 115.9 kB / 0.8465 GB, free: 5.969 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1282, allocations: 0.5938 kB / 0.8465 GB, free: 5.969 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003486/0.1286, allocations: 198.8 kB / 0.8467 GB, free: 5.77 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1286, allocations: 59.98 kB / 0.8467 GB, free: 5.699 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1287, allocations: 158 kB / 0.8469 GB, free: 5.539 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1287, allocations: 29.7 kB / 0.8469 GB, free: 5.504 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1288, allocations: 100.6 kB / 0.847 GB, free: 5.402 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1288, allocations: 51.62 kB / 0.847 GB, free: 5.352 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.1289, allocations: 34.2 kB / 0.8471 GB, free: 5.312 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.129, allocations: 331.4 kB / 0.8474 GB, free: 4.98 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1291, allocations: 90.2 kB / 0.8475 GB, free: 4.887 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1292, allocations: 201.3 kB / 0.8477 GB, free: 4.656 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1294, allocations: 139.2 kB / 0.8478 GB, free: 4.512 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1294, allocations: 4.594 kB / 0.8478 GB, free: 4.508 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002555/0.1297, allocations: 240.2 kB / 0.848 GB, free: 4.258 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.1297, allocations: 38.41 kB / 0.8481 GB, free: 4.215 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1297, allocations: 0 / 0.8481 GB, free: 4.215 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1297, allocations: 0.5312 kB / 0.8481 GB, free: 4.215 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.1298, allocations: 32.42 kB / 0.8481 GB, free: 4.184 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1298, allocations: 0.625 kB / 0.8481 GB, free: 4.184 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.1299, allocations: 20.38 kB / 0.8481 GB, free: 4.164 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1299, allocations: 12.48 kB / 0.8481 GB, free: 4.152 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.33e-05/0.13, allocations: 122.3 kB / 0.8483 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.13, allocations: 8.609 kB / 0.8483 GB, free: 4.016 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.1302, allocations: 178.4 kB / 0.8484 GB, free: 3.84 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1303, allocations: 4.625 kB / 0.8484 GB, free: 3.836 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1303, allocations: 12.53 kB / 0.8484 GB, free: 3.824 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1303, allocations: 0 / 0.8484 GB, free: 3.824 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1304, allocations: 157.8 kB / 0.8486 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1304, allocations: 0 / 0.8486 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.1305, allocations: 20.61 kB / 0.8486 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1305, allocations: 4.594 kB / 0.8486 GB, free: 3.617 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1305, allocations: 4.625 kB / 0.8486 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1305, allocations: 0 / 0.8486 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1305, allocations: 4.531 kB / 0.8486 GB, free: 3.609 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1308, allocations: 254.1 kB / 0.8489 GB, free: 3.344 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.1308, allocations: 12.52 kB / 0.8489 GB, free: 3.332 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1308, allocations: 8 kB / 0.8489 GB, free: 3.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.1309, allocations: 8.484 kB / 0.8489 GB, free: 3.316 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.1309, allocations: 20.69 kB / 0.8489 GB, free: 3.297 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.131, allocations: 4 kB / 0.8489 GB, free: 3.293 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.131, allocations: 119.9 kB / 0.849 GB, free: 3.176 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.131, allocations: 0.5 kB / 0.849 GB, free: 3.176 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000135/0.1312, allocations: 28 kB / 0.8491 GB, free: 3.148 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.0001025/0.1313, allocations: 112.3 kB / 0.8492 GB, free: 3.031 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1315, allocations: 206.3 kB / 0.8494 GB, free: 2.812 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1315, allocations: 0 / 0.8494 GB, free: 2.812 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.1316, allocations: 64.55 kB / 0.8494 GB, free: 2.75 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1318, allocations: 41.91 kB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1324, allocations: 360.7 kB / 0.8498 GB, free: 2.328 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.1324, allocations: 102.8 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1325, allocations: 15.97 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/0.1325, allocations: 0.5 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of Templates: time 0.002684/0.1351, allocations: 2.051 MB / 0.8519 GB, free: 244 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.298452403396368]