Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.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.001489/0.001489, allocations: 112.3 kB / 19.71 MB, free: 432 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.001557/0.001557, allocations: 212.4 kB / 23 MB, free: 2.965 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 0.9856/0.9856, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7398/0.7398, 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.MercuricChloride.MercuricChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") [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.00192/0.00192, allocations: 74.27 kB / 0.7699 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 73.99 MB / 0.8422 GB, free: 9.809 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride): time 0.002405/0.1183, allocations: 1.82 MB / 0.844 GB, free: 7.992 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.1192, allocations: 0.5419 MB / 0.8445 GB, free: 7.449 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.1192, allocations: 0.5625 kB / 0.8445 GB, free: 7.449 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.434e-05/0.1193, allocations: 15.84 kB / 0.8445 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1197, allocations: 81.25 kB / 0.8446 GB, free: 7.355 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.1198, allocations: 53.7 kB / 0.8446 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.12, allocations: 167.9 kB / 0.8448 GB, free: 7.141 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1201, allocations: 5.312 kB / 0.8448 GB, free: 7.137 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.1202, allocations: 76.19 kB / 0.8449 GB, free: 7.062 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1204, allocations: 84.31 kB / 0.845 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1204, allocations: 8.594 kB / 0.845 GB, free: 6.973 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.1204, allocations: 4 kB / 0.845 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1205, allocations: 32.41 kB / 0.845 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.1205, allocations: 48.3 kB / 0.8451 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1207, allocations: 95.58 kB / 0.8451 GB, free: 6.797 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1207, allocations: 4.594 kB / 0.8451 GB, free: 6.793 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1207, allocations: 0.5312 kB / 0.8451 GB, free: 6.793 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1207, allocations: 0 / 0.8451 GB, free: 6.793 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.0006324/0.1213, allocations: 389.6 kB / 0.8455 GB, free: 6.379 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1214, allocations: 15.89 kB / 0.8455 GB, free: 6.363 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1214, allocations: 17.5 kB / 0.8456 GB, free: 6.348 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1216, allocations: 158.8 kB / 0.8457 GB, free: 6.168 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1216, allocations: 9.062 kB / 0.8457 GB, free: 6.16 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1217, allocations: 8.125 kB / 0.8457 GB, free: 6.152 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1219, allocations: 98.34 kB / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1219, allocations: 0.625 kB / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1219, allocations: 7.938 kB / 0.8458 GB, free: 6.043 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1219, allocations: 0.8438 kB / 0.8458 GB, free: 6.043 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1221, allocations: 80.44 kB / 0.8459 GB, free: 5.965 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1225, allocations: 285 kB / 0.8462 GB, free: 5.656 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1228, allocations: 131.5 kB / 0.8463 GB, free: 5.52 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1229, allocations: 53.91 kB / 0.8463 GB, free: 5.465 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.123, allocations: 4 kB / 0.8464 GB, free: 5.461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1232, allocations: 108.5 kB / 0.8465 GB, free: 5.344 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1232, allocations: 3.938 kB / 0.8465 GB, free: 5.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004266/0.1236, allocations: 202.5 kB / 0.8467 GB, free: 5.141 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1236, allocations: 51.41 kB / 0.8467 GB, free: 5.078 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1237, allocations: 162 kB / 0.8469 GB, free: 4.914 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1238, allocations: 30.2 kB / 0.8469 GB, free: 4.879 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.1238, allocations: 108.7 kB / 0.847 GB, free: 4.77 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1239, allocations: 51.56 kB / 0.847 GB, free: 4.719 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1239, allocations: 38.27 kB / 0.8471 GB, free: 4.676 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.124, allocations: 330.8 kB / 0.8474 GB, free: 4.344 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1241, allocations: 78.94 kB / 0.8475 GB, free: 4.262 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1243, allocations: 202.6 kB / 0.8477 GB, free: 4.027 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1245, allocations: 145.4 kB / 0.8478 GB, free: 3.879 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1245, allocations: 4.688 kB / 0.8478 GB, free: 3.875 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003252/0.1249, allocations: 237.6 kB / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.1249, allocations: 36.73 kB / 0.8481 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1249, allocations: 0.625 kB / 0.8481 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1249, allocations: 0 / 0.8481 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.125, allocations: 36.44 kB / 0.8481 GB, free: 3.551 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.125, allocations: 0.6562 kB / 0.8481 GB, free: 3.551 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1252, allocations: 20.47 kB / 0.8481 GB, free: 3.531 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1252, allocations: 8.781 kB / 0.8481 GB, free: 3.523 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.372e-05/0.1253, allocations: 122.4 kB / 0.8482 GB, free: 3.395 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.1253, allocations: 16.39 kB / 0.8483 GB, free: 3.379 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.1256, allocations: 174.9 kB / 0.8484 GB, free: 3.203 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1256, allocations: 0.75 kB / 0.8484 GB, free: 3.203 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1256, allocations: 3.938 kB / 0.8484 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1256, allocations: 0.6562 kB / 0.8484 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1257, allocations: 157.7 kB / 0.8486 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1257, allocations: 0 / 0.8486 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1258, allocations: 28.59 kB / 0.8486 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1258, allocations: 0.5938 kB / 0.8486 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1258, allocations: 0 / 0.8486 GB, free: 2.988 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1259, allocations: 4.5 kB / 0.8486 GB, free: 2.984 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1259, allocations: 0.625 kB / 0.8486 GB, free: 2.984 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1263, allocations: 254 kB / 0.8489 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.1263, allocations: 16.58 kB / 0.8489 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1263, allocations: 4 kB / 0.8489 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1264, allocations: 12.48 kB / 0.8489 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.1264, allocations: 16.59 kB / 0.8489 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1265, allocations: 4.625 kB / 0.8489 GB, free: 2.668 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.1265, allocations: 121.9 kB / 0.849 GB, free: 2.551 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1265, allocations: 0.5312 kB / 0.849 GB, free: 2.551 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002174/0.1267, allocations: 32.72 kB / 0.8491 GB, free: 2.52 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 9.641e-05/0.1268, allocations: 99.75 kB / 0.8491 GB, free: 2.414 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1272, allocations: 214.2 kB / 0.8494 GB, free: 2.188 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1272, allocations: 0.5938 kB / 0.8494 GB, free: 2.188 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1273, allocations: 71.88 kB / 0.8494 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1275, allocations: 45.75 kB / 0.8495 GB, free: 2.078 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.1281, allocations: 356.5 kB / 0.8498 GB, free: 1.699 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.1282, allocations: 98.83 kB / 0.8499 GB, free: 1.582 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.1283, allocations: 20.16 kB / 0.8499 GB, free: 1.566 MB / 474.8 MB Notification: Performance of SimCode: time 4.9e-07/0.1283, allocations: 0 / 0.8499 GB, free: 1.566 MB / 474.8 MB Notification: Performance of Templates: time 0.003245/0.1315, allocations: 2.044 MB / 0.8519 GB, free: 15.61 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.923766645602882]