Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.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.001824/0.001824, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 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.001968/0.001968, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.695/1.695, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 178] 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 1.423/1.423, allocations: 316.7 MB / 0.6144 GB, free: 93.31 MB / 410.7 MB " [Timeout remaining time 178] 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.MonoethylPhthalate.MonoethylPhthalate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate") [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.00419/0.00419, allocations: 77.84 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2182, allocations: 73.98 MB / 0.8472 GB, free: 5.023 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate): time 0.004189/0.2224, allocations: 1.828 MB / 0.849 GB, free: 3.195 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2239, allocations: 0.5462 MB / 0.8496 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2241, allocations: 4 kB / 0.8496 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2242, allocations: 12.58 kB / 0.8496 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.2247, allocations: 60.83 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.225, allocations: 69.33 kB / 0.8497 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.2254, allocations: 167.8 kB / 0.8499 GB, free: 2.348 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.2255, allocations: 5.875 kB / 0.8499 GB, free: 2.344 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.2257, allocations: 75.75 kB / 0.8499 GB, free: 2.27 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.226, allocations: 76.22 kB / 0.85 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.2261, allocations: 12.47 kB / 0.85 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.2262, allocations: 8.594 kB / 0.85 GB, free: 2.176 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.2262, allocations: 35.89 kB / 0.8501 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2264, allocations: 48.38 kB / 0.8501 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2266, allocations: 91.58 kB / 0.8502 GB, free: 2.004 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2266, allocations: 0.7188 kB / 0.8502 GB, free: 2.004 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2266, allocations: 4 kB / 0.8502 GB, free: 2 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2266, allocations: 0.7812 kB / 0.8502 GB, free: 2 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.00108/0.2277, allocations: 389.2 kB / 0.8506 GB, free: 1.586 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2277, allocations: 8.031 kB / 0.8506 GB, free: 1.578 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.2278, allocations: 17.44 kB / 0.8506 GB, free: 1.562 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.2281, allocations: 155.4 kB / 0.8508 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2282, allocations: 4.375 kB / 0.8508 GB, free: 1.383 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.2282, allocations: 28.48 kB / 0.8508 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.2286, allocations: 94.25 kB / 0.8509 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2286, allocations: 0.5938 kB / 0.8509 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2286, allocations: 4 kB / 0.8509 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2286, allocations: 0.625 kB / 0.8509 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.2289, allocations: 84.59 kB / 0.851 GB, free: 1.172 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.2296, allocations: 280.9 kB / 0.8512 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.2301, allocations: 131.7 kB / 0.8514 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.2303, allocations: 57.34 kB / 0.8514 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.2303, allocations: 4.547 kB / 0.8514 GB, free: 0.668 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.2307, allocations: 111.9 kB / 0.8515 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.2307, allocations: 0.5625 kB / 0.8515 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007148/0.2314, allocations: 202.8 kB / 0.8517 GB, free: 352 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2315, allocations: 56 kB / 0.8518 GB, free: 284 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2317, allocations: 155.1 kB / 0.8519 GB, free: 120 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2317, allocations: 29.7 kB / 0.8519 GB, free: 84 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2318, allocations: 104.7 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.2319, allocations: 47.64 kB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.232, allocations: 38.33 kB / 0.8521 GB, free: 15.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2322, allocations: 327.4 kB / 0.8524 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2324, allocations: 82.16 kB / 0.8525 GB, free: 15.47 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.2328, allocations: 201 kB / 0.8527 GB, free: 15.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.2332, allocations: 147.1 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2332, allocations: 0.7188 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007993/0.234, allocations: 239.8 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.234, allocations: 34.3 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.234, allocations: 0.5938 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2341, allocations: 0 / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.2343, allocations: 32.66 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2343, allocations: 4.562 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2345, allocations: 28.47 kB / 0.8532 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2345, allocations: 8.5 kB / 0.8532 GB, free: 14.73 MB / 490.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 0.0001466/0.2346, allocations: 123.6 kB / 0.8533 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2347, allocations: 12.53 kB / 0.8533 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.2352, allocations: 178.1 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2352, allocations: 4.609 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2352, allocations: 0.625 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2352, allocations: 4 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.2354, allocations: 149.9 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2354, allocations: 3.938 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2356, allocations: 20.48 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2356, allocations: 0.7812 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2356, allocations: 11.98 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2356, allocations: 0.5938 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2356, allocations: 0.6875 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.2363, allocations: 254.2 kB / 0.8539 GB, free: 13.93 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2363, allocations: 15.91 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2364, allocations: 4.625 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2365, allocations: 12.58 kB / 0.8539 GB, free: 13.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.2366, allocations: 15.97 kB / 0.854 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2366, allocations: 0.625 kB / 0.854 GB, free: 13.88 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000139/0.2367, allocations: 121.9 kB / 0.8541 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2367, allocations: 0.5938 kB / 0.8541 GB, free: 13.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002391/0.237, allocations: 32.59 kB / 0.8541 GB, free: 13.73 MB / 490.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.0001749/0.2372, allocations: 103.9 kB / 0.8542 GB, free: 13.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.2377, allocations: 214 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2377, allocations: 0.5 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2379, allocations: 64.48 kB / 0.8545 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.2382, allocations: 45.89 kB / 0.8545 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.2392, allocations: 330.7 kB / 0.8548 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2394, allocations: 103.4 kB / 0.8549 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.2395, allocations: 23.92 kB / 0.855 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.2395, allocations: 16.03 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.2395, allocations: 0.5312 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of Templates: time 0.3262/0.5657, allocations: 2.632 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.37882964592427]