Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.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.001913/0.001913, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002046/0.002046, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.645/1.645, allocations: 230.6 MB / 256 MB, free: 9.598 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.425/1.425, allocations: 316.7 MB / 0.6144 GB, free: 93.45 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_Kao2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference") [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.003733/0.003733, allocations: 73.14 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2029, allocations: 73.99 MB / 0.8472 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference): time 0.00481/0.2078, allocations: 1.816 MB / 0.849 GB, free: 3.312 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2094, allocations: 0.5416 MB / 0.8495 GB, free: 2.77 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.2095, allocations: 0.625 kB / 0.8495 GB, free: 2.77 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2096, allocations: 11.86 kB / 0.8495 GB, free: 2.758 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.2101, allocations: 69.14 kB / 0.8496 GB, free: 2.691 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2104, allocations: 61.89 kB / 0.8497 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.2107, allocations: 160 kB / 0.8498 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2107, allocations: 5.312 kB / 0.8498 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2109, allocations: 80.34 kB / 0.8499 GB, free: 2.395 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.2113, allocations: 79.72 kB / 0.85 GB, free: 2.316 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.2113, allocations: 8.688 kB / 0.85 GB, free: 2.309 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.2113, allocations: 4.688 kB / 0.85 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.2114, allocations: 43.81 kB / 0.85 GB, free: 2.262 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.932e-05/0.2115, allocations: 40.39 kB / 0.8501 GB, free: 2.223 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.2118, allocations: 95.58 kB / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2118, allocations: 0.7812 kB / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2118, allocations: 0 / 0.8502 GB, free: 2.129 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2118, allocations: 0.7188 kB / 0.8502 GB, free: 2.129 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.001101/0.2129, allocations: 392.8 kB / 0.8505 GB, free: 1.711 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2129, allocations: 12.62 kB / 0.8506 GB, free: 1.699 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.213, allocations: 14.06 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.2133, allocations: 162.8 kB / 0.8507 GB, free: 1.504 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2133, allocations: 8.375 kB / 0.8507 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.2134, allocations: 12.12 kB / 0.8507 GB, free: 1.484 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.2138, allocations: 98.47 kB / 0.8508 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2138, allocations: 0 / 0.8508 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2138, allocations: 12.86 kB / 0.8508 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2138, allocations: 0 / 0.8508 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.2142, allocations: 81.39 kB / 0.8509 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.2149, allocations: 276.3 kB / 0.8512 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.2155, allocations: 144.9 kB / 0.8513 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.2157, allocations: 48.81 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.2157, allocations: 4 kB / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.2161, allocations: 120.4 kB / 0.8515 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.2161, allocations: 0 / 0.8515 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008596/0.217, allocations: 199.5 kB / 0.8517 GB, free: 476 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.217, allocations: 51.41 kB / 0.8517 GB, free: 412 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2173, allocations: 157.5 kB / 0.8519 GB, free: 248 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.2173, allocations: 34.42 kB / 0.8519 GB, free: 208 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2175, allocations: 108.1 kB / 0.852 GB, free: 96 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.2175, allocations: 40.73 kB / 0.8521 GB, free: 56 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2176, allocations: 41.7 kB / 0.8521 GB, free: 8 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.2179, allocations: 326.8 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.2181, allocations: 78.16 kB / 0.8525 GB, free: 15.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.2185, allocations: 209.7 kB / 0.8527 GB, free: 15.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.219, allocations: 143.1 kB / 0.8528 GB, free: 15.21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.219, allocations: 0.625 kB / 0.8528 GB, free: 15.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006756/0.2197, allocations: 240.2 kB / 0.853 GB, free: 14.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.2198, allocations: 38.28 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2198, allocations: 0 / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2198, allocations: 0.7188 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.22, allocations: 24.7 kB / 0.8531 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.22, allocations: 3.938 kB / 0.8531 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2203, allocations: 28.5 kB / 0.8531 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.2203, allocations: 4.625 kB / 0.8531 GB, free: 14.86 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.0001624/0.2204, allocations: 122.5 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2205, allocations: 15.95 kB / 0.8533 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.2211, allocations: 175.4 kB / 0.8534 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2211, allocations: 0.5312 kB / 0.8534 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2211, allocations: 0.5625 kB / 0.8534 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2211, allocations: 224 / 0.8534 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2214, allocations: 149.7 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2214, allocations: 4.562 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2216, allocations: 31.97 kB / 0.8536 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2216, allocations: 0.5625 kB / 0.8536 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2216, allocations: 0.6562 kB / 0.8536 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.2216, allocations: 4 kB / 0.8536 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2216, allocations: 5 kB / 0.8536 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.2225, allocations: 261.4 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.2225, allocations: 11.92 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.2225, allocations: 0 / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2227, allocations: 21.2 kB / 0.8539 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.2228, allocations: 11.97 kB / 0.8539 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2228, allocations: 9.781 kB / 0.8539 GB, free: 14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00016/0.223, allocations: 119.2 kB / 0.854 GB, free: 13.88 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.223, allocations: 0 / 0.854 GB, free: 13.88 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003643/0.2234, allocations: 32 kB / 0.8541 GB, free: 13.85 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.000177/0.2235, allocations: 107.8 kB / 0.8542 GB, free: 13.74 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.2242, allocations: 209.9 kB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2242, allocations: 1.906 kB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.2245, allocations: 63.89 kB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.2249, allocations: 39.56 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2263, allocations: 331.9 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2264, allocations: 103.3 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2266, allocations: 19.95 kB / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.2266, allocations: 19.92 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.2266, allocations: 0.625 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of Templates: time 0.3344/0.5611, allocations: 2.636 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.464177408954129]