Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_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.002221/0.002221, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002624/0.002624, allocations: 222.4 kB / 22.25 MB, free: 3.57 MB / 13.93 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.778/1.778, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.463/1.463, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_Hirano1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003872/0.003872, allocations: 73.33 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1951, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference): time 0.003837/0.1989, allocations: 1.8 MB / 0.849 GB, free: 3.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2005, allocations: 0.5488 MB / 0.8495 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.2006, allocations: 0.5938 kB / 0.8495 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2008, allocations: 23.84 kB / 0.8496 GB, free: 2.531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.2012, allocations: 61.39 kB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2014, allocations: 69.72 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.2017, allocations: 163.3 kB / 0.8498 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.2018, allocations: 5.938 kB / 0.8498 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2019, allocations: 76.38 kB / 0.8499 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.2023, allocations: 75.72 kB / 0.85 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2023, allocations: 8.5 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-05/0.2024, allocations: 8.562 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.2025, allocations: 36.42 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2026, allocations: 51.78 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2028, allocations: 92.2 kB / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2028, allocations: 0 / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2028, allocations: 4.562 kB / 0.8502 GB, free: 1.898 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.2028, allocations: 0.6875 kB / 0.8502 GB, free: 1.898 MB / 474.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.001115/0.2039, allocations: 388.6 kB / 0.8505 GB, free: 1.484 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.204, allocations: 12.59 kB / 0.8506 GB, free: 1.473 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.2041, allocations: 13.56 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.2044, allocations: 158.8 kB / 0.8507 GB, free: 1.281 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2044, allocations: 13.33 kB / 0.8507 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.2044, allocations: 8.125 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2048, allocations: 98.31 kB / 0.8508 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2048, allocations: 0 / 0.8508 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2048, allocations: 5.406 kB / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.2048, allocations: 0 / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.2051, allocations: 84.53 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.2058, allocations: 278.1 kB / 0.8512 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.2063, allocations: 138.4 kB / 0.8513 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2065, allocations: 54.09 kB / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2065, allocations: 0 / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.2069, allocations: 111.3 kB / 0.8515 GB, free: 464 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2069, allocations: 1.094 kB / 0.8515 GB, free: 464 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007292/0.2076, allocations: 206.4 kB / 0.8517 GB, free: 256 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.2077, allocations: 55.41 kB / 0.8517 GB, free: 188 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2079, allocations: 154.5 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.208, allocations: 34.58 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2081, allocations: 104.1 kB / 0.852 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2081, allocations: 43.64 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.2082, allocations: 40.2 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.2084, allocations: 330.8 kB / 0.8524 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2086, allocations: 81.66 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.2089, allocations: 200.4 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.2093, allocations: 139.2 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2093, allocations: 0.6875 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005132/0.2098, allocations: 244.1 kB / 0.853 GB, free: 14.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.2099, allocations: 34.3 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2099, allocations: 0.8438 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2099, allocations: 0 / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2101, allocations: 36.53 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2101, allocations: 4.578 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2103, allocations: 24.56 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2103, allocations: 11.94 kB / 0.8531 GB, free: 14.63 MB / 490.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 0.0001403/0.2104, allocations: 124.1 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2105, allocations: 15.94 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.2109, allocations: 171.7 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2109, allocations: 0 / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2109, allocations: 4.75 kB / 0.8534 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2109, allocations: 0 / 0.8534 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2112, allocations: 153.9 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2112, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2113, allocations: 24.61 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2113, allocations: 0.625 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2114, allocations: 11.98 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2114, allocations: 4.5 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2114, allocations: 0.625 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.212, allocations: 250 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.212, allocations: 20.5 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2121, allocations: 4 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2122, allocations: 12.64 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.2123, allocations: 16.47 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2123, allocations: 4.594 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001304/0.2124, allocations: 121.9 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.2124, allocations: 0.625 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002264/0.2126, allocations: 32 kB / 0.8541 GB, free: 13.62 MB / 490.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.0001641/0.2128, allocations: 107 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.2133, allocations: 214.2 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2133, allocations: 0 / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2135, allocations: 67.77 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2139, allocations: 38.34 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.2148, allocations: 322.9 kB / 0.8548 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.215, allocations: 102.9 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2151, allocations: 20.11 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.2151, allocations: 35.86 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of SimCode: time 3.9e-07/0.2151, allocations: 0 / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of Templates: time 0.3482/0.5633, allocations: 2.618 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.67195343808271]