Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.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.0007378/0.0007378, 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.0008843/0.0008843, allocations: 166.3 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 1.014/1.014, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7603/0.7603, allocations: 291.2 MB / 0.5382 GB, free: 51.82 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.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.727e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate): time 0.00274/0.002767, allocations: 1.834 MB / 0.6992 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.003656, allocations: 0.546 MB / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.003721, allocations: 0 / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.003825, allocations: 11.86 kB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.004208, allocations: 75.34 kB / 0.6998 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.004376, allocations: 67.77 kB / 0.6999 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.004581, allocations: 167.3 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.004634, allocations: 9.312 kB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.004772, allocations: 87.78 kB / 0.7001 GB, free: 7.598 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.005019, allocations: 75.77 kB / 0.7002 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.005046, allocations: 12 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.005068, allocations: 8 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.005133, allocations: 35.89 kB / 0.7003 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.005198, allocations: 43.84 kB / 0.7003 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005353, allocations: 99.67 kB / 0.7004 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005356, allocations: 0 / 0.7004 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005358, allocations: 0 / 0.7004 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005364, allocations: 0 / 0.7004 GB, free: 7.328 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.0006695/0.006033, allocations: 399.4 kB / 0.7008 GB, free: 6.902 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.006072, allocations: 8.031 kB / 0.7008 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.00613, allocations: 20.83 kB / 0.7008 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.006306, allocations: 142.2 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.006324, allocations: 4.375 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.006352, allocations: 12.38 kB / 0.701 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.006576, allocations: 94.19 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.006585, allocations: 3.938 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.006601, allocations: 7.984 kB / 0.7011 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.006606, allocations: 4 kB / 0.7011 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.006828, allocations: 83.86 kB / 0.7011 GB, free: 6.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.007255, allocations: 280.4 kB / 0.7014 GB, free: 6.195 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.007558, allocations: 130.4 kB / 0.7015 GB, free: 6.059 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.007677, allocations: 56.81 kB / 0.7016 GB, free: 6 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.007695, allocations: 0 / 0.7016 GB, free: 6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.007929, allocations: 127.2 kB / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/0.007931, allocations: 224 / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004768/0.008408, allocations: 197.6 kB / 0.7019 GB, free: 5.664 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.00844, allocations: 59.34 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.00856, allocations: 155.6 kB / 0.7021 GB, free: 5.434 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.008577, allocations: 29.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.008631, allocations: 100.1 kB / 0.7022 GB, free: 5.297 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.008662, allocations: 55.62 kB / 0.7023 GB, free: 5.242 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.00872, allocations: 37.7 kB / 0.7023 GB, free: 5.199 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.008769, allocations: 322.8 kB / 0.7026 GB, free: 4.875 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.008913, allocations: 85.59 kB / 0.7027 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.009073, allocations: 202.1 kB / 0.7029 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.0093, allocations: 144.7 kB / 0.703 GB, free: 4.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.009303, allocations: 3.938 kB / 0.703 GB, free: 4.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003284/0.009632, allocations: 236.8 kB / 0.7033 GB, free: 4.148 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.009662, allocations: 36.05 kB / 0.7033 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009669, allocations: 3.984 kB / 0.7033 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.009685, allocations: 0 / 0.7033 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.009823, allocations: 27.92 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.00983, allocations: 4 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.009947, allocations: 19.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.00996, allocations: 4 kB / 0.7034 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 7.365e-05/0.01003, allocations: 130.4 kB / 0.7035 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.01005, allocations: 11.91 kB / 0.7035 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.01038, allocations: 177.8 kB / 0.7037 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01038, allocations: 0 / 0.7037 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01039, allocations: 0 / 0.7037 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01039, allocations: 4 kB / 0.7037 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.01051, allocations: 145.2 kB / 0.7038 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01051, allocations: 3.938 kB / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.01063, allocations: 27.97 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.01064, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01065, allocations: 8 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01065, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01066, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.01109, allocations: 244.9 kB / 0.7041 GB, free: 3.258 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.01111, allocations: 19.86 kB / 0.7041 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01114, allocations: 8 kB / 0.7041 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.01122, allocations: 12.05 kB / 0.7041 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.01129, allocations: 27.84 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.0113, allocations: 4 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.01137, allocations: 121.8 kB / 0.7043 GB, free: 3.07 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01137, allocations: 0 / 0.7043 GB, free: 3.07 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002354/0.0116, allocations: 32 kB / 0.7043 GB, free: 3.039 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.0001201/0.01172, allocations: 115.2 kB / 0.7044 GB, free: 2.914 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.01208, allocations: 209 kB / 0.7046 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01208, allocations: 0 / 0.7046 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01221, allocations: 59.89 kB / 0.7047 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.0125, allocations: 43.89 kB / 0.7047 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.01315, allocations: 343.1 kB / 0.705 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.0132, allocations: 93.81 kB / 0.7051 GB, free: 2.113 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.01327, allocations: 20.48 kB / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of SimCode: time 9.62e-07/0.01327, allocations: 0 / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of Templates: time 0.003304/0.01657, allocations: 2.057 MB / 0.7071 GB, free: 48 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4054282596334815]