Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_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.001124/0.001124, 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.001291/0.001291, 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.1/1.1, 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.7032/0.7032, allocations: 312.3 MB / 0.6109 GB, free: 97.09 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.Cesium137.Cesium137_Talbot1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_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.00202/0.00202, allocations: 73.23 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1473, allocations: 73.99 MB / 0.8422 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference): time 0.002252/0.1496, allocations: 1.81 MB / 0.8439 GB, free: 7.992 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.1504, allocations: 0.5375 MB / 0.8445 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.1505, allocations: 8.688 kB / 0.8445 GB, free: 7.445 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.1506, allocations: 15.84 kB / 0.8445 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1509, allocations: 72.72 kB / 0.8445 GB, free: 7.359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.151, allocations: 53.95 kB / 0.8446 GB, free: 7.312 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1512, allocations: 167.3 kB / 0.8448 GB, free: 7.148 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.1512, allocations: 5.812 kB / 0.8448 GB, free: 7.145 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.1513, allocations: 80.38 kB / 0.8448 GB, free: 7.066 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1515, allocations: 84.16 kB / 0.8449 GB, free: 6.984 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1516, allocations: 8 kB / 0.8449 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.1516, allocations: 8.625 kB / 0.8449 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1516, allocations: 28.41 kB / 0.845 GB, free: 6.941 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1517, allocations: 51.77 kB / 0.845 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1518, allocations: 92.33 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1518, allocations: 0 / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1518, allocations: 0.7188 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1518, allocations: 4 kB / 0.8451 GB, free: 6.797 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.1524, allocations: 393.3 kB / 0.8455 GB, free: 6.379 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1525, allocations: 16.45 kB / 0.8455 GB, free: 6.363 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1525, allocations: 16.84 kB / 0.8455 GB, free: 6.348 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1527, allocations: 155.5 kB / 0.8457 GB, free: 6.172 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1527, allocations: 4.375 kB / 0.8457 GB, free: 6.168 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1527, allocations: 12.81 kB / 0.8457 GB, free: 6.156 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1529, allocations: 98.25 kB / 0.8458 GB, free: 6.055 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1529, allocations: 0.625 kB / 0.8458 GB, free: 6.055 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1529, allocations: 4 kB / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1529, allocations: 0.5625 kB / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.153, allocations: 89.12 kB / 0.8459 GB, free: 5.965 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.1534, allocations: 280.4 kB / 0.8461 GB, free: 5.66 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1536, allocations: 131.8 kB / 0.8463 GB, free: 5.523 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.1537, allocations: 53.41 kB / 0.8463 GB, free: 5.469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1537, allocations: 0.625 kB / 0.8463 GB, free: 5.469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1539, allocations: 115.9 kB / 0.8464 GB, free: 5.344 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.1539, allocations: 0.5 kB / 0.8464 GB, free: 5.344 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003437/0.1543, allocations: 198.8 kB / 0.8466 GB, free: 5.145 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1543, allocations: 56 kB / 0.8467 GB, free: 5.078 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.1544, allocations: 153.1 kB / 0.8468 GB, free: 4.922 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1544, allocations: 34.33 kB / 0.8468 GB, free: 4.883 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.1545, allocations: 108.7 kB / 0.8469 GB, free: 4.773 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1545, allocations: 51.56 kB / 0.847 GB, free: 4.723 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.1545, allocations: 38.3 kB / 0.847 GB, free: 4.68 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.1546, allocations: 326.8 kB / 0.8473 GB, free: 4.352 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1547, allocations: 82.75 kB / 0.8474 GB, free: 4.266 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1549, allocations: 208.7 kB / 0.8476 GB, free: 4.027 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.155, allocations: 143.1 kB / 0.8478 GB, free: 3.879 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.155, allocations: 0.625 kB / 0.8478 GB, free: 3.879 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002446/0.1553, allocations: 236.5 kB / 0.848 GB, free: 3.633 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1553, allocations: 33.7 kB / 0.848 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1553, allocations: 0.5 kB / 0.848 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1553, allocations: 0.5938 kB / 0.848 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1554, allocations: 32.41 kB / 0.848 GB, free: 3.562 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1554, allocations: 4.75 kB / 0.848 GB, free: 3.559 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1555, allocations: 19.94 kB / 0.8481 GB, free: 3.539 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1555, allocations: 4.625 kB / 0.8481 GB, free: 3.535 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.124e-05/0.1556, allocations: 130.8 kB / 0.8482 GB, free: 3.398 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1556, allocations: 8.859 kB / 0.8482 GB, free: 3.391 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1558, allocations: 178.6 kB / 0.8484 GB, free: 3.215 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1558, allocations: 8.469 kB / 0.8484 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1558, allocations: 4.688 kB / 0.8484 GB, free: 3.203 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1558, allocations: 4 kB / 0.8484 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.494e-05/0.1559, allocations: 145.9 kB / 0.8485 GB, free: 3.027 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1559, allocations: 4 kB / 0.8485 GB, free: 3.023 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.156, allocations: 28.59 kB / 0.8486 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.156, allocations: 0.5 kB / 0.8486 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.156, allocations: 4 kB / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.156, allocations: 0.625 kB / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.156, allocations: 0.5 kB / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.1564, allocations: 253.8 kB / 0.8488 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.1565, allocations: 12.59 kB / 0.8488 GB, free: 2.715 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1565, allocations: 4.641 kB / 0.8488 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.1565, allocations: 16.59 kB / 0.8488 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1566, allocations: 15.97 kB / 0.8489 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-06/0.1566, allocations: 4.594 kB / 0.8489 GB, free: 2.676 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.1567, allocations: 120 kB / 0.849 GB, free: 2.559 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1567, allocations: 0 / 0.849 GB, free: 2.559 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001336/0.1568, allocations: 32.62 kB / 0.849 GB, free: 2.527 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 8.746e-05/0.1569, allocations: 104 kB / 0.8491 GB, free: 2.418 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1571, allocations: 214.7 kB / 0.8493 GB, free: 2.191 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1571, allocations: 0 / 0.8493 GB, free: 2.191 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/0.1572, allocations: 63.89 kB / 0.8494 GB, free: 2.129 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1574, allocations: 41.91 kB / 0.8494 GB, free: 2.09 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1579, allocations: 364.9 kB / 0.8498 GB, free: 1.703 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.158, allocations: 100.1 kB / 0.8499 GB, free: 1.586 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.158, allocations: 15.44 kB / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of SimCode: time 4.9e-07/0.158, allocations: 0 / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of Templates: time 0.002602/0.1606, allocations: 2.051 MB / 0.8519 GB, free: 15.62 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Talbot1993_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.004130299203098]