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.0009817/0.0009817, allocations: 92.52 kB / 19.94 MB, free: 4.598 MB / 18.57 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.0009377/0.0009377, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9655/0.9655, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.7182/0.7182, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.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.964e-06/1.964e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.696e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference): time 0.00195/0.001977, allocations: 1.81 MB / 0.6991 GB, free: 8.566 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.002716, allocations: 0.5458 MB / 0.6997 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.002776, allocations: 0 / 0.6997 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.642e-05/0.002872, allocations: 15.84 kB / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.003217, allocations: 71.47 kB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.003355, allocations: 62.55 kB / 0.6998 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.003526, allocations: 175.2 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.00357, allocations: 5.312 kB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003678, allocations: 91.78 kB / 0.7001 GB, free: 7.605 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.003873, allocations: 75.77 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.003897, allocations: 8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.003914, allocations: 4 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.003968, allocations: 39.89 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.004019, allocations: 39.91 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.004149, allocations: 103.6 kB / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004151, allocations: 4 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004152, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004156, allocations: 0 / 0.7003 GB, free: 7.336 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.0005374/0.004694, allocations: 387.5 kB / 0.7007 GB, free: 6.922 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.004731, allocations: 15.95 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.004777, allocations: 20.84 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004919, allocations: 142.2 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.004935, allocations: 8.375 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.004957, allocations: 4.375 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.005125, allocations: 102.2 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005134, allocations: 7.922 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005145, allocations: 0 / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.00515, allocations: 0 / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.005295, allocations: 83.86 kB / 0.7011 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.005626, allocations: 288.4 kB / 0.7013 GB, free: 6.203 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.005844, allocations: 134.4 kB / 0.7015 GB, free: 6.062 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.005921, allocations: 52.83 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.005935, allocations: 0 / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.006109, allocations: 119.2 kB / 0.7016 GB, free: 5.879 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.00611, allocations: 4 kB / 0.7016 GB, free: 5.875 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003313/0.006441, allocations: 197.3 kB / 0.7018 GB, free: 5.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006469, allocations: 55.62 kB / 0.7019 GB, free: 5.613 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.006551, allocations: 161 kB / 0.702 GB, free: 5.449 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.006563, allocations: 33.64 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.006602, allocations: 100.1 kB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.006629, allocations: 51.58 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.006671, allocations: 33.7 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.006704, allocations: 330.8 kB / 0.7025 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.006802, allocations: 89.58 kB / 0.7026 GB, free: 4.793 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.006911, allocations: 194.1 kB / 0.7028 GB, free: 4.566 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.007066, allocations: 141.5 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007069, allocations: 7.938 kB / 0.703 GB, free: 4.414 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002169/0.007285, allocations: 232.8 kB / 0.7032 GB, free: 4.168 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.007309, allocations: 41.69 kB / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007313, allocations: 0 / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007326, allocations: 0 / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.007424, allocations: 31.92 kB / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007429, allocations: 4 kB / 0.7033 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.007505, allocations: 15.92 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007515, allocations: 8 kB / 0.7033 GB, free: 4.062 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 5.749e-05/0.007573, allocations: 123 kB / 0.7034 GB, free: 3.934 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.007584, allocations: 15.91 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.007806, allocations: 174.3 kB / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007808, allocations: 0 / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007812, allocations: 0 / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007815, allocations: 0 / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.007898, allocations: 153.2 kB / 0.7037 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0079, allocations: 3.938 kB / 0.7037 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.007989, allocations: 27.97 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007991, allocations: 0 / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.008002, allocations: 8 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008003, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008004, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.008293, allocations: 252.9 kB / 0.704 GB, free: 3.262 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.008309, allocations: 15.88 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.008328, allocations: 4 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.008382, allocations: 11.98 kB / 0.704 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.008434, allocations: 19.97 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.008442, allocations: 4.062 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.008487, allocations: 127 kB / 0.7042 GB, free: 3.082 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008487, allocations: 0 / 0.7042 GB, free: 3.082 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001332/0.008621, allocations: 32 kB / 0.7042 GB, free: 3.051 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 8.512e-05/0.008706, allocations: 107.2 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.008948, allocations: 213 kB / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008949, allocations: 0 / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.009033, allocations: 71.83 kB / 0.7046 GB, free: 2.637 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.009221, allocations: 38.28 kB / 0.7046 GB, free: 2.602 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.009684, allocations: 354.9 kB / 0.705 GB, free: 2.227 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.009725, allocations: 89.81 kB / 0.705 GB, free: 2.121 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.009774, allocations: 20.48 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.009774, allocations: 0 / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of Templates: time 0.002418/0.01219, allocations: 2.048 MB / 0.7071 GB, free: 68 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MonoethylPhthalate.MonoethylPhthalate_Kao2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.452127476222813]