Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.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.001178/0.001178, 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.00201/0.00201, 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.044/1.044, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.8032/0.8032, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") [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.001451/0.001451, allocations: 73.25 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1324, allocations: 73.98 MB / 0.8422 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate): time 0.002878/0.1353, allocations: 1.841 MB / 0.844 GB, free: 8.473 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.1361, allocations: 0.5343 MB / 0.8445 GB, free: 7.938 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1362, allocations: 4.562 kB / 0.8445 GB, free: 7.934 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1363, allocations: 15.91 kB / 0.8445 GB, free: 7.918 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.1367, allocations: 69.25 kB / 0.8446 GB, free: 7.852 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1368, allocations: 53.64 kB / 0.8446 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1371, allocations: 168 kB / 0.8448 GB, free: 7.637 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1371, allocations: 5.312 kB / 0.8448 GB, free: 7.633 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1372, allocations: 76.25 kB / 0.8448 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1374, allocations: 80.28 kB / 0.8449 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1375, allocations: 8 kB / 0.8449 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.1375, allocations: 8.625 kB / 0.8449 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.1376, allocations: 40.47 kB / 0.845 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1376, allocations: 51.77 kB / 0.845 GB, free: 7.375 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1378, allocations: 92.17 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1378, allocations: 0 / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1378, allocations: 0.7188 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1378, allocations: 0 / 0.8451 GB, free: 7.285 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.0006405/0.1384, allocations: 393.5 kB / 0.8455 GB, free: 6.867 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1385, allocations: 8.719 kB / 0.8455 GB, free: 6.859 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1385, allocations: 16.84 kB / 0.8455 GB, free: 6.844 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1387, allocations: 155.5 kB / 0.8457 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1387, allocations: 4.375 kB / 0.8457 GB, free: 6.664 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1387, allocations: 12.72 kB / 0.8457 GB, free: 6.652 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1389, allocations: 101.8 kB / 0.8458 GB, free: 6.551 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1389, allocations: 0 / 0.8458 GB, free: 6.551 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.139, allocations: 4.562 kB / 0.8458 GB, free: 6.547 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.139, allocations: 0.625 kB / 0.8458 GB, free: 6.547 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1391, allocations: 84.47 kB / 0.8459 GB, free: 6.465 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1395, allocations: 284.8 kB / 0.8461 GB, free: 6.156 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1398, allocations: 135.6 kB / 0.8463 GB, free: 6.016 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.1399, allocations: 53.62 kB / 0.8463 GB, free: 5.961 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1399, allocations: 4.688 kB / 0.8463 GB, free: 5.957 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1401, allocations: 115.8 kB / 0.8464 GB, free: 5.832 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1401, allocations: 0.6875 kB / 0.8464 GB, free: 5.832 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003705/0.1404, allocations: 198.7 kB / 0.8466 GB, free: 5.633 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1405, allocations: 55.97 kB / 0.8467 GB, free: 5.566 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1406, allocations: 154.2 kB / 0.8468 GB, free: 5.41 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1406, allocations: 33.7 kB / 0.8469 GB, free: 5.371 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1407, allocations: 104.7 kB / 0.847 GB, free: 5.266 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1407, allocations: 47.62 kB / 0.847 GB, free: 5.219 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1407, allocations: 42.23 kB / 0.847 GB, free: 5.172 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.1408, allocations: 327.3 kB / 0.8474 GB, free: 4.844 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.141, allocations: 82.22 kB / 0.8474 GB, free: 4.758 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1411, allocations: 210.8 kB / 0.8476 GB, free: 4.516 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1413, allocations: 141.6 kB / 0.8478 GB, free: 4.371 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1413, allocations: 4.594 kB / 0.8478 GB, free: 4.367 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002735/0.1416, allocations: 233.5 kB / 0.848 GB, free: 4.121 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.1416, allocations: 34.2 kB / 0.848 GB, free: 4.082 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1416, allocations: 0.6875 kB / 0.848 GB, free: 4.082 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1416, allocations: 3.984 kB / 0.848 GB, free: 4.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1417, allocations: 28.55 kB / 0.8481 GB, free: 4.051 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1417, allocations: 0.6562 kB / 0.8481 GB, free: 4.051 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.1418, allocations: 28.44 kB / 0.8481 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1418, allocations: 4.688 kB / 0.8481 GB, free: 4.02 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 8.48e-05/0.1419, allocations: 124.3 kB / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.1419, allocations: 11.95 kB / 0.8482 GB, free: 3.879 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.1422, allocations: 179.6 kB / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1422, allocations: 0 / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1422, allocations: 0.6875 kB / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1422, allocations: 0 / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1423, allocations: 153.9 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1423, allocations: 0.6562 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.1424, allocations: 31.97 kB / 0.8486 GB, free: 3.488 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1424, allocations: 0.5 kB / 0.8486 GB, free: 3.488 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1424, allocations: 8.594 kB / 0.8486 GB, free: 3.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1424, allocations: 0 / 0.8486 GB, free: 3.48 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1424, allocations: 8.375 kB / 0.8486 GB, free: 3.473 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.1428, allocations: 252.8 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.1428, allocations: 20.59 kB / 0.8488 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1428, allocations: 4.625 kB / 0.8489 GB, free: 3.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.1429, allocations: 12.67 kB / 0.8489 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.1429, allocations: 15.97 kB / 0.8489 GB, free: 3.16 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1429, allocations: 0.625 kB / 0.8489 GB, free: 3.16 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.143, allocations: 121.9 kB / 0.849 GB, free: 3.043 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.143, allocations: 0.5 kB / 0.849 GB, free: 3.043 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001426/0.1432, allocations: 32.62 kB / 0.849 GB, free: 3.012 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.0001176/0.1433, allocations: 102 kB / 0.8491 GB, free: 2.906 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.1441, allocations: 218.1 kB / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1441, allocations: 0.5 kB / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.1442, allocations: 60.64 kB / 0.8494 GB, free: 2.617 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1444, allocations: 47.59 kB / 0.8494 GB, free: 2.574 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.145, allocations: 356.5 kB / 0.8498 GB, free: 2.195 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.712e-05/0.1451, allocations: 99.14 kB / 0.8499 GB, free: 2.078 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1451, allocations: 16.16 kB / 0.8499 GB, free: 2.066 MB / 474.8 MB Notification: Performance of SimCode: time 6.21e-07/0.1451, allocations: 0 / 0.8499 GB, free: 2.066 MB / 474.8 MB Notification: Performance of Templates: time 0.002927/0.148, allocations: 2.05 MB / 0.8519 GB, free: 112 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.345365399494767]