Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.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.001345/0.001345, 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.001672/0.001672, 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 1.052/1.052, 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.7833/0.7833, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder") [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.001507/0.001507, allocations: 69.73 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1265, allocations: 73.99 MB / 0.8421 GB, free: 10.25 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder): time 0.002761/0.1293, allocations: 1.821 MB / 0.8439 GB, free: 8.434 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.1301, allocations: 0.5538 MB / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.1302, allocations: 0 / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1303, allocations: 12.58 kB / 0.8445 GB, free: 7.867 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.1307, allocations: 68.77 kB / 0.8445 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.1308, allocations: 61.48 kB / 0.8446 GB, free: 7.742 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1311, allocations: 167.9 kB / 0.8447 GB, free: 7.578 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1311, allocations: 5.812 kB / 0.8448 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1312, allocations: 72.38 kB / 0.8448 GB, free: 7.504 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1315, allocations: 83.66 kB / 0.8449 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1315, allocations: 4.625 kB / 0.8449 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.1315, allocations: 8.594 kB / 0.8449 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.1316, allocations: 31.89 kB / 0.8449 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1316, allocations: 52.38 kB / 0.845 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1318, allocations: 100.1 kB / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1318, allocations: 0 / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1318, allocations: 0.625 kB / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1318, allocations: 3.938 kB / 0.8451 GB, free: 7.227 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.0006866/0.1325, allocations: 389.2 kB / 0.8455 GB, free: 6.812 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1325, allocations: 8.656 kB / 0.8455 GB, free: 6.805 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1326, allocations: 16.84 kB / 0.8455 GB, free: 6.789 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1327, allocations: 155.5 kB / 0.8456 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1328, allocations: 5 kB / 0.8456 GB, free: 6.609 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1328, allocations: 16.12 kB / 0.8457 GB, free: 6.594 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.133, allocations: 102.1 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.133, allocations: 0.5312 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.133, allocations: 4 kB / 0.8458 GB, free: 6.488 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.133, allocations: 4.562 kB / 0.8458 GB, free: 6.484 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1332, allocations: 81.03 kB / 0.8458 GB, free: 6.406 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1336, allocations: 281 kB / 0.8461 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1338, allocations: 135.1 kB / 0.8462 GB, free: 5.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.1339, allocations: 50 kB / 0.8463 GB, free: 5.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1339, allocations: 4 kB / 0.8463 GB, free: 5.906 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1341, allocations: 112.5 kB / 0.8464 GB, free: 5.785 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.225e-06/0.1341, allocations: 3.938 kB / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003615/0.1345, allocations: 194.9 kB / 0.8466 GB, free: 5.586 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1345, allocations: 56 kB / 0.8466 GB, free: 5.52 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1346, allocations: 159.1 kB / 0.8468 GB, free: 5.355 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1346, allocations: 29.92 kB / 0.8468 GB, free: 5.32 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.1347, allocations: 104.8 kB / 0.8469 GB, free: 5.215 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1347, allocations: 47.58 kB / 0.847 GB, free: 5.168 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.1348, allocations: 38.3 kB / 0.847 GB, free: 5.125 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.1349, allocations: 327.5 kB / 0.8473 GB, free: 4.797 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.135, allocations: 81.66 kB / 0.8474 GB, free: 4.711 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.1351, allocations: 206 kB / 0.8476 GB, free: 4.477 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1353, allocations: 139 kB / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1353, allocations: 0.5625 kB / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002679/0.1356, allocations: 244 kB / 0.848 GB, free: 4.078 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1356, allocations: 34.3 kB / 0.848 GB, free: 4.039 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1356, allocations: 0.625 kB / 0.848 GB, free: 4.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1356, allocations: 4 kB / 0.848 GB, free: 4.035 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1357, allocations: 32.41 kB / 0.848 GB, free: 4.004 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1358, allocations: 4.516 kB / 0.848 GB, free: 4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.1358, allocations: 24.41 kB / 0.8481 GB, free: 3.977 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1358, allocations: 4.5 kB / 0.8481 GB, free: 3.973 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.831e-05/0.1359, allocations: 122.3 kB / 0.8482 GB, free: 3.844 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1359, allocations: 12.52 kB / 0.8482 GB, free: 3.832 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.1362, allocations: 183 kB / 0.8484 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.1362, allocations: 4.5 kB / 0.8484 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1362, allocations: 4.578 kB / 0.8484 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1362, allocations: 0.5 kB / 0.8484 GB, free: 3.641 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1363, allocations: 149.2 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1363, allocations: 0.8438 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.1364, allocations: 23.98 kB / 0.8485 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1364, allocations: 0.5938 kB / 0.8485 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1364, allocations: 8.578 kB / 0.8485 GB, free: 3.434 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1364, allocations: 4 kB / 0.8485 GB, free: 3.43 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1364, allocations: 0.75 kB / 0.8485 GB, free: 3.43 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1368, allocations: 259.3 kB / 0.8488 GB, free: 3.164 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.1368, allocations: 20.53 kB / 0.8488 GB, free: 3.145 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1368, allocations: 0 / 0.8488 GB, free: 3.145 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.1369, allocations: 12.7 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.1369, allocations: 16.66 kB / 0.8488 GB, free: 3.117 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1369, allocations: 4 kB / 0.8488 GB, free: 3.113 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.137, allocations: 122.5 kB / 0.849 GB, free: 2.996 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.137, allocations: 0.6875 kB / 0.849 GB, free: 2.996 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001396/0.1371, allocations: 35.94 kB / 0.849 GB, free: 2.961 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.0001196/0.1373, allocations: 104.5 kB / 0.8491 GB, free: 2.852 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1375, allocations: 213.7 kB / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1375, allocations: 0.625 kB / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.1376, allocations: 60.42 kB / 0.8494 GB, free: 2.566 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1378, allocations: 43.56 kB / 0.8494 GB, free: 2.527 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.1384, allocations: 360.4 kB / 0.8497 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.109e-05/0.1385, allocations: 103.5 kB / 0.8498 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.1385, allocations: 15.44 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1385, allocations: 0.5 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of Templates: time 0.00293/0.1414, allocations: 2.045 MB / 0.8519 GB, free: 60 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Kalkwarf1983_pellet_grinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.427284065634012]