Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_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.00104/0.00104, 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.001134/0.001134, 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 0.9749/0.9749, allocations: 177.2 MB / 203.5 MB, free: 5.672 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.7399/0.7399, allocations: 291.2 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.NickelSulfate.NickelSulfate_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.298e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference): time 0.001797/0.00183, allocations: 1.822 MB / 0.6991 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.002463, allocations: 0.5458 MB / 0.6997 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.002514, allocations: 0 / 0.6997 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.674e-05/0.002611, allocations: 11.86 kB / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.00292, allocations: 75.47 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003042, allocations: 71.52 kB / 0.6998 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003195, allocations: 163.3 kB / 0.7 GB, free: 7.711 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.003237, allocations: 9.297 kB / 0.7 GB, free: 7.703 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.003337, allocations: 87.78 kB / 0.7001 GB, free: 7.617 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.003532, allocations: 79.77 kB / 0.7001 GB, free: 7.539 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003554, allocations: 8 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.003569, allocations: 8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.003621, allocations: 27.91 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.003669, allocations: 51.83 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003786, allocations: 99.67 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003788, allocations: 0 / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003789, allocations: 0 / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003793, allocations: 0 / 0.7003 GB, free: 7.348 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.0005216/0.004315, allocations: 391.5 kB / 0.7007 GB, free: 6.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.004352, allocations: 12.03 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.004394, allocations: 16.84 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004539, allocations: 146.1 kB / 0.7009 GB, free: 6.734 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.004552, allocations: 4.375 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.004579, allocations: 12.38 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.004744, allocations: 98.17 kB / 0.701 GB, free: 6.617 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.004754, allocations: 3.938 kB / 0.701 GB, free: 6.613 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.004768, allocations: 0 / 0.701 GB, free: 6.613 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.004774, allocations: 8 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.004928, allocations: 83.92 kB / 0.7011 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.005277, allocations: 292.3 kB / 0.7013 GB, free: 6.207 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.005505, allocations: 130.4 kB / 0.7015 GB, free: 6.07 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.005588, allocations: 56.8 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.005603, allocations: 4.219 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.005766, allocations: 115.2 kB / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.005768, allocations: 0 / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003336/0.006101, allocations: 197.6 kB / 0.7018 GB, free: 5.684 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.006125, allocations: 55.41 kB / 0.7019 GB, free: 5.617 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.006212, allocations: 159.6 kB / 0.702 GB, free: 5.453 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.006224, allocations: 25.7 kB / 0.702 GB, free: 5.422 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.006267, allocations: 112 kB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.006293, allocations: 39.64 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.006335, allocations: 41.7 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.006372, allocations: 318.8 kB / 0.7025 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.006475, allocations: 85.66 kB / 0.7026 GB, free: 4.812 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.006592, allocations: 206 kB / 0.7028 GB, free: 4.574 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.006748, allocations: 140.8 kB / 0.703 GB, free: 4.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006751, allocations: 3.938 kB / 0.703 GB, free: 4.426 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002178/0.006969, allocations: 240.8 kB / 0.7032 GB, free: 4.172 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.00699, allocations: 33.7 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.006995, allocations: 0 / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007007, allocations: 4 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.0071, allocations: 31.91 kB / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007106, allocations: 0 / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.007182, allocations: 19.92 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.007192, allocations: 4 kB / 0.7033 GB, free: 4.074 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.855e-05/0.007251, allocations: 130.4 kB / 0.7034 GB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.007263, allocations: 11.91 kB / 0.7034 GB, free: 3.926 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.007495, allocations: 178.2 kB / 0.7036 GB, free: 3.754 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.007498, allocations: 4 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007503, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007507, allocations: 3.984 kB / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.00759, allocations: 149.2 kB / 0.7037 GB, free: 3.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007592, allocations: 3.938 kB / 0.7037 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.007675, allocations: 27.98 kB / 0.7038 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007677, allocations: 0 / 0.7038 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.007687, allocations: 0 / 0.7038 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007689, allocations: 7.984 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.00769, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.007982, allocations: 256.8 kB / 0.704 GB, free: 3.262 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.007998, allocations: 15.88 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.008015, allocations: 3.984 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.008071, allocations: 15.98 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.008127, allocations: 11.98 kB / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.008135, allocations: 12.05 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.008181, allocations: 125.8 kB / 0.7042 GB, free: 3.082 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008181, allocations: 0 / 0.7042 GB, free: 3.082 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001324/0.008313, 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.162e-05/0.008395, allocations: 99.25 kB / 0.7043 GB, free: 2.941 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.008635, allocations: 216.9 kB / 0.7045 GB, free: 2.711 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008636, allocations: 3.938 kB / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.008721, allocations: 63.89 kB / 0.7046 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.00892, allocations: 46.08 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.0004667/0.009387, allocations: 339.2 kB / 0.705 GB, free: 2.238 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.009433, allocations: 97.8 kB / 0.705 GB, free: 2.125 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.00948, allocations: 16.5 kB / 0.7051 GB, free: 2.105 MB / 410.8 MB Notification: Performance of SimCode: time 8.22e-07/0.009481, allocations: 0 / 0.7051 GB, free: 2.105 MB / 410.8 MB Notification: Performance of Templates: time 0.002467/0.01195, allocations: 2.061 MB / 0.7071 GB, free: 68 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4004175662994385]