Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.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.0008762/0.0008762, 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.0009277/0.0009277, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.051/1.051, 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.7313/0.7313, 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.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") [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.001807/0.001807, allocations: 74.2 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 73.98 MB / 0.8422 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite): time 0.002575/0.1504, allocations: 1.832 MB / 0.8439 GB, free: 8.441 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.1514, allocations: 0.542 MB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.1514, allocations: 0 / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1516, allocations: 12.42 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1519, allocations: 68.72 kB / 0.8445 GB, free: 7.82 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1521, allocations: 68.94 kB / 0.8446 GB, free: 7.758 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1523, allocations: 167.9 kB / 0.8448 GB, free: 7.594 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.1523, allocations: 5.312 kB / 0.8448 GB, free: 7.59 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1524, allocations: 68.36 kB / 0.8448 GB, free: 7.523 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1527, allocations: 88.3 kB / 0.8449 GB, free: 7.438 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1527, allocations: 8 kB / 0.8449 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.1527, allocations: 4.625 kB / 0.8449 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.1528, allocations: 39.91 kB / 0.845 GB, free: 7.387 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1528, allocations: 48.27 kB / 0.845 GB, free: 7.34 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.153, allocations: 96.17 kB / 0.8451 GB, free: 7.246 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.153, allocations: 0.7188 kB / 0.8451 GB, free: 7.246 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.153, allocations: 0 / 0.8451 GB, free: 7.246 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.153, allocations: 0.5625 kB / 0.8451 GB, free: 7.246 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.0006495/0.1536, allocations: 388.7 kB / 0.8455 GB, free: 6.832 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1537, allocations: 12.66 kB / 0.8455 GB, free: 6.82 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.1537, allocations: 13.44 kB / 0.8455 GB, free: 6.809 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1539, allocations: 154.8 kB / 0.8457 GB, free: 6.633 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1539, allocations: 5 kB / 0.8457 GB, free: 6.629 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.154, allocations: 20.11 kB / 0.8457 GB, free: 6.609 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1542, allocations: 102.8 kB / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1542, allocations: 0 / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1542, allocations: 4.531 kB / 0.8458 GB, free: 6.5 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1542, allocations: 4 kB / 0.8458 GB, free: 6.496 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1543, allocations: 77.11 kB / 0.8459 GB, free: 6.422 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1548, allocations: 288.8 kB / 0.8461 GB, free: 6.109 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.155, allocations: 131.6 kB / 0.8463 GB, free: 5.973 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.1551, allocations: 49.44 kB / 0.8463 GB, free: 5.922 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1551, allocations: 4.594 kB / 0.8463 GB, free: 5.918 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1553, allocations: 111.9 kB / 0.8464 GB, free: 5.797 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1553, allocations: 4.469 kB / 0.8464 GB, free: 5.793 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003709/0.1557, allocations: 202.5 kB / 0.8466 GB, free: 5.594 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1557, allocations: 51.94 kB / 0.8467 GB, free: 5.531 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1558, allocations: 157.3 kB / 0.8468 GB, free: 5.371 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1558, allocations: 34.33 kB / 0.8469 GB, free: 5.332 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1559, allocations: 104.6 kB / 0.847 GB, free: 5.227 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1559, allocations: 47.62 kB / 0.847 GB, free: 5.18 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.156, allocations: 42.33 kB / 0.847 GB, free: 5.133 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.1561, allocations: 327.5 kB / 0.8473 GB, free: 4.805 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1562, allocations: 77.66 kB / 0.8474 GB, free: 4.723 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1563, allocations: 205.8 kB / 0.8476 GB, free: 4.488 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1565, allocations: 145.8 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1565, allocations: 0 / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002673/0.1568, allocations: 242 kB / 0.848 GB, free: 4.086 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1568, allocations: 30.33 kB / 0.848 GB, free: 4.051 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1568, allocations: 8.219 kB / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1568, allocations: 0.5 kB / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.1569, allocations: 32.36 kB / 0.8481 GB, free: 4.012 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1569, allocations: 4.609 kB / 0.8481 GB, free: 4.008 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.584e-05/0.157, allocations: 24.5 kB / 0.8481 GB, free: 3.984 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.157, allocations: 4 kB / 0.8481 GB, free: 3.98 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.936e-05/0.1571, allocations: 123 kB / 0.8482 GB, free: 3.852 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1571, allocations: 11.95 kB / 0.8482 GB, free: 3.84 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.1574, allocations: 175.7 kB / 0.8484 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1574, allocations: 4 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1574, allocations: 0.5312 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1574, allocations: 4.641 kB / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1575, allocations: 149.2 kB / 0.8485 GB, free: 3.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1575, allocations: 0.5625 kB / 0.8485 GB, free: 3.48 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.1576, allocations: 28.52 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1576, allocations: 0.5938 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1576, allocations: 4 kB / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1576, allocations: 4.641 kB / 0.8486 GB, free: 3.445 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1576, allocations: 4 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1579, allocations: 258.6 kB / 0.8488 GB, free: 3.172 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.158, allocations: 11.92 kB / 0.8488 GB, free: 3.16 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.158, allocations: 4.609 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.158, allocations: 16.61 kB / 0.8489 GB, free: 3.141 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1581, allocations: 7.984 kB / 0.8489 GB, free: 3.133 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1581, allocations: 8.484 kB / 0.8489 GB, free: 3.125 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.1582, allocations: 119.9 kB / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1582, allocations: 0 / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001463/0.1583, allocations: 32.59 kB / 0.849 GB, free: 2.977 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.0001006/0.1584, allocations: 104.5 kB / 0.8491 GB, free: 2.867 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.1587, allocations: 217.7 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1587, allocations: 0.6875 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1588, allocations: 60.52 kB / 0.8494 GB, free: 2.578 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1591, allocations: 45.5 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.1596, allocations: 363.3 kB / 0.8498 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.909e-05/0.1597, allocations: 99.56 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.1597, allocations: 19.44 kB / 0.8499 GB, free: 2.02 MB / 474.8 MB Notification: Performance of SimCode: time 6.42e-07/0.1597, allocations: 4.438 kB / 0.8499 GB, free: 2.016 MB / 474.8 MB Notification: Performance of Templates: time 0.003165/0.1629, allocations: 2.033 MB / 0.8519 GB, free: 76 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.059811155311763]