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.002722/0.002722, allocations: 88.44 kB / 19.18 MB, free: 0.7383 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.002178/0.002178, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.718/1.718, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.369/1.369, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.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 2.264e-06/2.264e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.734e-05/3.96e-05, allocations: 3.969 kB / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate): time 0.003532/0.003572, allocations: 1.826 MB / 0.7017 GB, free: 6.719 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004792, allocations: 0.5499 MB / 0.7022 GB, free: 6.164 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.00487, allocations: 0 / 0.7022 GB, free: 6.164 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.004983, allocations: 15.86 kB / 0.7022 GB, free: 6.148 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.005417, allocations: 67.53 kB / 0.7023 GB, free: 6.082 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.005659, allocations: 67.72 kB / 0.7024 GB, free: 6.016 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.005923, allocations: 167.3 kB / 0.7025 GB, free: 5.852 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.005983, allocations: 9.297 kB / 0.7025 GB, free: 5.844 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.006151, allocations: 95.72 kB / 0.7026 GB, free: 5.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.006436, allocations: 75.83 kB / 0.7027 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.006472, allocations: 4 kB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.006502, allocations: 8 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.006579, allocations: 35.84 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.006659, allocations: 39.84 kB / 0.7028 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.006846, allocations: 111.6 kB / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.006849, allocations: 4 kB / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00685, allocations: 0 / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.006856, allocations: 4 kB / 0.7029 GB, free: 5.473 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.000928/0.007784, allocations: 387.5 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.007826, allocations: 12.03 kB / 0.7033 GB, free: 5.047 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.007894, allocations: 12.84 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.008113, allocations: 146.2 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.008136, allocations: 8.375 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.008173, allocations: 8.375 kB / 0.7034 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.008506, allocations: 101.8 kB / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.008518, allocations: 3.938 kB / 0.7035 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.008537, allocations: 7.938 kB / 0.7036 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.008543, allocations: 0 / 0.7036 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.008915, allocations: 79.92 kB / 0.7036 GB, free: 4.66 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.00948, allocations: 284.4 kB / 0.7039 GB, free: 4.352 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.00996, allocations: 138.4 kB / 0.704 GB, free: 4.207 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.01017, allocations: 52.81 kB / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01019, allocations: 7.938 kB / 0.7041 GB, free: 4.145 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.01053, allocations: 107.3 kB / 0.7042 GB, free: 4.027 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.01053, allocations: 0 / 0.7042 GB, free: 4.027 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007638/0.01129, allocations: 201.6 kB / 0.7044 GB, free: 3.824 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.01133, allocations: 51.41 kB / 0.7044 GB, free: 3.762 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01149, allocations: 159.6 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01151, allocations: 33.64 kB / 0.7046 GB, free: 3.559 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.01158, allocations: 104.1 kB / 0.7047 GB, free: 3.453 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.01162, allocations: 43.64 kB / 0.7048 GB, free: 3.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.0117, allocations: 37.7 kB / 0.7048 GB, free: 3.367 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.01176, allocations: 322.8 kB / 0.7051 GB, free: 3.043 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.01199, allocations: 77.66 kB / 0.7052 GB, free: 2.961 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.01228, allocations: 210.1 kB / 0.7054 GB, free: 2.719 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.01269, allocations: 138.5 kB / 0.7055 GB, free: 2.574 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01269, allocations: 3.938 kB / 0.7055 GB, free: 2.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005581/0.01325, allocations: 243.6 kB / 0.7057 GB, free: 2.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.01328, allocations: 37.64 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01329, allocations: 0 / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.0133, allocations: 0 / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.01353, allocations: 31.98 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01354, allocations: 3.984 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.01376, allocations: 23.86 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01378, allocations: 4 kB / 0.7058 GB, free: 2.211 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 9.988e-05/0.01388, allocations: 125.7 kB / 0.706 GB, free: 2.078 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.01391, allocations: 15.91 kB / 0.706 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.01445, allocations: 170.4 kB / 0.7061 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01445, allocations: 4 kB / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01446, allocations: 224 / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01446, allocations: 3.984 kB / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.01463, allocations: 153.2 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01463, allocations: 3.938 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.01485, allocations: 23.98 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01485, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.01487, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01487, allocations: 7.938 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01488, allocations: 3.984 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.0156, allocations: 252.1 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.01563, allocations: 19.81 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.01567, allocations: 3.984 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.01585, allocations: 15.98 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.01594, allocations: 7.984 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01596, allocations: 11.98 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001061/0.01606, allocations: 125.3 kB / 0.7068 GB, free: 1.227 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01606, allocations: 0 / 0.7068 GB, free: 1.227 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003375/0.0164, allocations: 36.06 kB / 0.7068 GB, free: 1.191 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.0001438/0.01654, allocations: 100.6 kB / 0.7069 GB, free: 1.082 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.01711, allocations: 213 kB / 0.7071 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01711, allocations: 0 / 0.7071 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.01735, allocations: 63.89 kB / 0.7071 GB, free: 0.793 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.01777, allocations: 51.83 kB / 0.7072 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.01858, allocations: 305.5 kB / 0.7075 GB, free: 428 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.01866, allocations: 101.8 kB / 0.7076 GB, free: 308 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.01878, allocations: 17.48 kB / 0.7076 GB, free: 288 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.01886, allocations: 20.5 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of SimCode: time 6.61e-07/0.01887, allocations: 0 / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of Templates: time 0.009058/0.02792, allocations: 2.485 MB / 0.71 GB, free: 13.85 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.982816995121539]