Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.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.00124/0.00124, 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.001425/0.001425, 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.024/1.024, 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.7645/0.7645, allocations: 312.3 MB / 0.6108 GB, free: 97.58 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.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate") [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.001624/0.001624, allocations: 73.45 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1342, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate): time 0.002559/0.1367, allocations: 1.833 MB / 0.8439 GB, free: 8.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007275/0.1374, allocations: 0.5381 MB / 0.8445 GB, free: 7.961 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.1375, allocations: 8.438 kB / 0.8445 GB, free: 7.953 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.1376, allocations: 19.84 kB / 0.8445 GB, free: 7.934 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1379, allocations: 61.42 kB / 0.8445 GB, free: 7.875 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.1381, allocations: 61.34 kB / 0.8446 GB, free: 7.82 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1382, allocations: 164 kB / 0.8448 GB, free: 7.66 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1383, allocations: 5.312 kB / 0.8448 GB, free: 7.656 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.1384, allocations: 80.31 kB / 0.8448 GB, free: 7.578 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1386, allocations: 80.28 kB / 0.8449 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1386, allocations: 8.5 kB / 0.8449 GB, free: 7.492 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.1386, allocations: 8 kB / 0.8449 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.1387, allocations: 32.56 kB / 0.845 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.1387, allocations: 55.77 kB / 0.845 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1389, allocations: 92.17 kB / 0.8451 GB, free: 7.309 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1389, allocations: 0.6562 kB / 0.8451 GB, free: 7.309 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1389, allocations: 0 / 0.8451 GB, free: 7.309 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1389, allocations: 4.719 kB / 0.8451 GB, free: 7.305 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.0005847/0.1395, allocations: 388.7 kB / 0.8455 GB, free: 6.891 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1395, allocations: 8.625 kB / 0.8455 GB, free: 6.883 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1395, allocations: 17.34 kB / 0.8455 GB, free: 6.867 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1397, allocations: 154.8 kB / 0.8456 GB, free: 6.691 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1397, allocations: 9 kB / 0.8457 GB, free: 6.684 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1398, allocations: 8.719 kB / 0.8457 GB, free: 6.676 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1399, allocations: 106.2 kB / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1399, allocations: 0 / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1399, allocations: 0.5938 kB / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.14, allocations: 0.5938 kB / 0.8458 GB, free: 6.566 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1401, allocations: 92.41 kB / 0.8459 GB, free: 6.477 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.1405, allocations: 276.9 kB / 0.8461 GB, free: 6.176 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1407, allocations: 135.8 kB / 0.8462 GB, free: 6.035 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.1408, allocations: 53.41 kB / 0.8463 GB, free: 5.98 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1408, allocations: 0.6875 kB / 0.8463 GB, free: 5.98 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.141, allocations: 111.9 kB / 0.8464 GB, free: 5.859 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.141, allocations: 0 / 0.8464 GB, free: 5.859 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003543/0.1413, allocations: 199.1 kB / 0.8466 GB, free: 5.66 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1414, allocations: 64.02 kB / 0.8467 GB, free: 5.586 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1415, allocations: 153.5 kB / 0.8468 GB, free: 5.43 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1415, allocations: 34.36 kB / 0.8468 GB, free: 5.391 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.1416, allocations: 104.6 kB / 0.8469 GB, free: 5.285 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1416, allocations: 47.64 kB / 0.847 GB, free: 5.238 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.1416, allocations: 34.33 kB / 0.847 GB, free: 5.199 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.1417, allocations: 330.8 kB / 0.8473 GB, free: 4.867 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1418, allocations: 82.34 kB / 0.8474 GB, free: 4.781 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.142, allocations: 205.3 kB / 0.8476 GB, free: 4.547 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1422, allocations: 145.9 kB / 0.8477 GB, free: 4.398 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1422, allocations: 0 / 0.8477 GB, free: 4.398 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002669/0.1424, allocations: 234 kB / 0.848 GB, free: 4.152 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.1425, allocations: 34.39 kB / 0.848 GB, free: 4.113 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1425, allocations: 0 / 0.848 GB, free: 4.113 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1425, allocations: 4.609 kB / 0.848 GB, free: 4.109 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1426, allocations: 32.55 kB / 0.848 GB, free: 4.078 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1426, allocations: 4 kB / 0.848 GB, free: 4.074 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.1427, allocations: 20.5 kB / 0.8481 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1427, allocations: 8.531 kB / 0.8481 GB, free: 4.047 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.633e-05/0.1428, allocations: 126.8 kB / 0.8482 GB, free: 3.914 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1428, allocations: 8.734 kB / 0.8482 GB, free: 3.906 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.143, allocations: 178 kB / 0.8484 GB, free: 3.73 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.143, allocations: 3.938 kB / 0.8484 GB, free: 3.727 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.143, allocations: 0.625 kB / 0.8484 GB, free: 3.727 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.143, allocations: 4.562 kB / 0.8484 GB, free: 3.723 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1431, allocations: 149.2 kB / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1431, allocations: 8.625 kB / 0.8485 GB, free: 3.539 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.1432, allocations: 24.59 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1432, allocations: 0 / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1432, allocations: 8.844 kB / 0.8486 GB, free: 3.508 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1432, allocations: 0 / 0.8486 GB, free: 3.508 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1432, allocations: 0.5938 kB / 0.8486 GB, free: 3.508 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1436, allocations: 254 kB / 0.8488 GB, free: 3.242 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.1436, allocations: 20.47 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1436, allocations: 8 kB / 0.8488 GB, free: 3.215 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.1437, allocations: 8.578 kB / 0.8488 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1437, allocations: 20.59 kB / 0.8489 GB, free: 3.188 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.1437, allocations: 0.7188 kB / 0.8489 GB, free: 3.188 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1438, allocations: 121.9 kB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1438, allocations: 0.5938 kB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000136/0.1439, allocations: 32 kB / 0.849 GB, free: 3.039 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.93e-05/0.144, allocations: 104.5 kB / 0.8491 GB, free: 2.93 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.1443, allocations: 213.7 kB / 0.8493 GB, free: 2.703 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1443, allocations: 4.5 kB / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.1444, allocations: 60.67 kB / 0.8494 GB, free: 2.641 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1446, allocations: 45.77 kB / 0.8494 GB, free: 2.598 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.1451, allocations: 362.6 kB / 0.8498 GB, free: 2.215 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1455, allocations: 95.45 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.1455, allocations: 16.03 kB / 0.8499 GB, free: 2.09 MB / 474.8 MB Notification: Performance of SimCode: time 4.91e-07/0.1455, allocations: 0 / 0.8499 GB, free: 2.09 MB / 474.8 MB Notification: Performance of Templates: time 0.002776/0.1483, allocations: 2.05 MB / 0.8519 GB, free: 140 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.198799133300781]