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.002067/0.002067, allocations: 76.45 kB / 19.17 MB, free: 0.7344 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.002461/0.002461, allocations: 177.2 kB / 22.46 MB, free: 2.09 MB / 18.57 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.677/1.677, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.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.368/1.368, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.663e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference): time 0.006068/0.006095, allocations: 1.823 MB / 0.7017 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.01026, allocations: 0.5535 MB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.01035, allocations: 0 / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.01047, allocations: 11.86 kB / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.01089, allocations: 67.47 kB / 0.7023 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.01112, allocations: 63.84 kB / 0.7023 GB, free: 6.047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.01137, allocations: 175.2 kB / 0.7025 GB, free: 5.875 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.01142, allocations: 5.312 kB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.0116, allocations: 87.78 kB / 0.7026 GB, free: 5.785 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.01187, allocations: 79.81 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.01191, allocations: 8 kB / 0.7027 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.01194, allocations: 8 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.01201, allocations: 31.84 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.01208, allocations: 39.91 kB / 0.7027 GB, free: 5.621 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.01225, allocations: 110.7 kB / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01226, allocations: 0 / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01226, allocations: 0 / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.01226, allocations: 0 / 0.7029 GB, free: 5.516 MB / 410.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.003883/0.01615, allocations: 395.5 kB / 0.7032 GB, free: 5.094 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01618, allocations: 8.031 kB / 0.7032 GB, free: 5.086 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.01625, allocations: 16.84 kB / 0.7033 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.01647, allocations: 150.1 kB / 0.7034 GB, free: 4.898 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.01649, allocations: 8.312 kB / 0.7034 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.01652, allocations: 12.38 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.01684, allocations: 94.17 kB / 0.7035 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.01685, allocations: 3.938 kB / 0.7035 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.01686, allocations: 4 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.01687, allocations: 4 kB / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.01724, allocations: 79.92 kB / 0.7036 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.01777, allocations: 288.3 kB / 0.7039 GB, free: 4.379 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.02127, allocations: 134.4 kB / 0.704 GB, free: 4.238 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.02148, allocations: 56.75 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.0215, allocations: 0 / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.02182, allocations: 111.3 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.02182, allocations: 4 kB / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007323/0.02255, allocations: 201.6 kB / 0.7044 GB, free: 3.852 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.02258, allocations: 55.41 kB / 0.7044 GB, free: 3.785 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.02273, allocations: 155.6 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.02276, allocations: 29.7 kB / 0.7046 GB, free: 3.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.02281, allocations: 104.1 kB / 0.7047 GB, free: 3.484 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.02285, allocations: 39.66 kB / 0.7047 GB, free: 3.445 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.02294, allocations: 41.69 kB / 0.7048 GB, free: 3.398 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.02298, allocations: 322.8 kB / 0.7051 GB, free: 3.074 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.02323, allocations: 85.66 kB / 0.7051 GB, free: 2.984 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.02349, allocations: 201.4 kB / 0.7053 GB, free: 2.754 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.02388, allocations: 146.4 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02388, allocations: 3.938 kB / 0.7055 GB, free: 2.598 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003569/0.02745, allocations: 243.6 kB / 0.7057 GB, free: 2.344 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.02748, allocations: 29.7 kB / 0.7057 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02748, allocations: 0 / 0.7057 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.0275, allocations: 4.219 kB / 0.7057 GB, free: 2.305 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.02772, allocations: 31.92 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.02773, allocations: 3.938 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.02795, allocations: 23.91 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.02797, allocations: 4 kB / 0.7058 GB, free: 2.242 MB / 410.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.0001078/0.02808, allocations: 126.4 kB / 0.7059 GB, free: 2.109 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.02811, allocations: 11.91 kB / 0.7059 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.02863, allocations: 177.7 kB / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.02864, allocations: 4 kB / 0.7061 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.02864, allocations: 48 / 0.7061 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02865, allocations: 3.984 kB / 0.7061 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.02881, allocations: 149.2 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02881, allocations: 3.938 kB / 0.7063 GB, free: 1.738 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.02903, allocations: 23.98 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.02904, allocations: 4 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.02906, allocations: 0 / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.02906, allocations: 0 / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02906, allocations: 4 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.02976, allocations: 248.9 kB / 0.7065 GB, free: 1.445 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.0298, allocations: 23.81 kB / 0.7066 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.02983, allocations: 7.938 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/0.03302, allocations: 15.97 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.03309, allocations: 11.98 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.03311, allocations: 4 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001033/0.03321, allocations: 133.4 kB / 0.7067 GB, free: 1.254 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.03321, allocations: 0 / 0.7067 GB, free: 1.254 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003422/0.03355, allocations: 32 kB / 0.7068 GB, free: 1.223 MB / 410.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.0001185/0.03367, allocations: 103.2 kB / 0.7069 GB, free: 1.109 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.0342, allocations: 216.9 kB / 0.7071 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0342, allocations: 0 / 0.7071 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.03442, allocations: 59.89 kB / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.03484, allocations: 47.89 kB / 0.7072 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.03562, allocations: 309.5 kB / 0.7075 GB, free: 456 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.03568, allocations: 97.8 kB / 0.7075 GB, free: 340 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003135/0.03881, allocations: 25.48 kB / 0.7076 GB, free: 312 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.03888, allocations: 16.5 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of SimCode: time 5.31e-07/0.03888, allocations: 3.938 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of Templates: time 0.01458/0.05347, allocations: 2.493 MB / 0.71 GB, free: 13.91 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.850805497961119]