Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.0009124/0.0009124, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0008712/0.0008712, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.97/0.97, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7631/0.7631, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.524e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference): time 0.001865/0.00189, allocations: 1.821 MB / 0.6991 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.002604, allocations: 0.5419 MB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.002667, allocations: 0 / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.002774, allocations: 15.86 kB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.003173, allocations: 71.47 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003312, allocations: 75.14 kB / 0.6998 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.00349, allocations: 163.3 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.003533, allocations: 9.312 kB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003636, allocations: 91.78 kB / 0.7001 GB, free: 7.594 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.00383, allocations: 75.77 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003856, allocations: 8 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.003873, allocations: 8 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.003926, allocations: 27.91 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.003982, allocations: 43.89 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.004107, allocations: 107.6 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.004109, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00411, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004115, allocations: 4 kB / 0.7003 GB, free: 7.324 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.0005571/0.004672, allocations: 387.5 kB / 0.7007 GB, free: 6.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.004709, allocations: 11.89 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.004754, allocations: 16.84 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.004898, allocations: 150.1 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.004917, allocations: 8.375 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.004943, allocations: 8.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.005108, allocations: 98.19 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.005118, allocations: 3.938 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.00513, allocations: 0 / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.005137, allocations: 7.984 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.005281, allocations: 79.92 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.005626, allocations: 288.3 kB / 0.7013 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.005848, allocations: 134.4 kB / 0.7015 GB, free: 6.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.00593, allocations: 52.81 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.005945, allocations: 4 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.006116, allocations: 115.2 kB / 0.7016 GB, free: 5.867 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.006117, allocations: 3.938 kB / 0.7016 GB, free: 5.863 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003342/0.006451, allocations: 189.7 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.006476, allocations: 59.41 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.006563, allocations: 161.2 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006575, allocations: 29.7 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.006613, allocations: 108 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.006636, allocations: 43.64 kB / 0.7022 GB, free: 5.25 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.006676, allocations: 33.7 kB / 0.7022 GB, free: 5.211 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.006713, allocations: 326.8 kB / 0.7025 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.006813, allocations: 81.66 kB / 0.7026 GB, free: 4.797 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.006931, allocations: 210 kB / 0.7028 GB, free: 4.555 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.007084, allocations: 145 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.007088, allocations: 3.938 kB / 0.703 GB, free: 4.402 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000221/0.007309, allocations: 236.8 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.007334, allocations: 29.7 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.00734, allocations: 0 / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.007355, allocations: 7.984 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.007451, allocations: 31.92 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.007459, allocations: 0 / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.007535, allocations: 19.92 kB / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.007547, allocations: 8 kB / 0.7033 GB, free: 4.051 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.59e-05/0.007603, allocations: 126.4 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.007614, allocations: 11.91 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.007838, allocations: 173.7 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007841, allocations: 4 kB / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.007847, allocations: 0 / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.007852, allocations: 4 kB / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.99e-05/0.007942, allocations: 153.2 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007943, allocations: 3.938 kB / 0.7037 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.008025, allocations: 23.97 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008027, allocations: 4 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008037, allocations: 4 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.008038, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.00804, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.008328, allocations: 257 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.008346, allocations: 19.83 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.008365, allocations: 4 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.008418, allocations: 11.98 kB / 0.704 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.008475, allocations: 15.97 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.008484, allocations: 4 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.008529, allocations: 127 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.008529, allocations: 3.938 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001335/0.008662, allocations: 32 kB / 0.7042 GB, free: 3.031 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 7.787e-05/0.00874, allocations: 99.31 kB / 0.7043 GB, free: 2.922 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.008989, allocations: 219.3 kB / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008991, allocations: 0 / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.009075, allocations: 63.89 kB / 0.7046 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.009265, allocations: 52.7 kB / 0.7046 GB, free: 2.578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.009722, allocations: 335.1 kB / 0.705 GB, free: 2.219 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.00977, allocations: 93.81 kB / 0.705 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.009817, allocations: 24.5 kB / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of SimCode: time 8.31e-07/0.009818, allocations: 0 / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of Templates: time 0.002316/0.01213, allocations: 2.051 MB / 0.7071 GB, free: 52 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.629633623175323]