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.001052/0.001052, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002515, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001106/0.001106, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002449, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.11, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.75/0.75, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03227/0.7822, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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 1.814e-06/1.814e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.263e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference): time 0.002361/0.002384, allocations: 1.946 MB / 0.5465 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.003165, allocations: 0.569 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.003223, allocations: 3.938 kB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.619e-05/0.003279, allocations: 15.91 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.003564, allocations: 75.41 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.003729, allocations: 55.84 kB / 0.5472 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.003924, allocations: 172 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.003971, allocations: 5.969 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.004139, allocations: 115.7 kB / 0.5475 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.004351, allocations: 79.77 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.004376, allocations: 4 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.004396, allocations: 8 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.004446, allocations: 23.94 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.004496, allocations: 27.94 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004631, allocations: 75.73 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.004644, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004645, allocations: 4 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.004659, allocations: 4 kB / 0.5477 GB, free: 27.36 MB / 410.7 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.0005685/0.005227, allocations: 388.1 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.005261, allocations: 11.89 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.005305, allocations: 16.92 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005452, allocations: 154.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.00547, allocations: 8.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005496, allocations: 8.359 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005641, allocations: 81.02 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005649, allocations: 3.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005659, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005665, allocations: 4 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.005712, allocations: 15.98 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.005989, allocations: 205.8 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.006113, allocations: 121.6 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.006146, allocations: 16.84 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.006164, allocations: 8 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.006299, allocations: 97.56 kB / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.006302, allocations: 0 / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001633/0.006465, allocations: 85.66 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.006484, allocations: 55.41 kB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.006557, allocations: 146.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.006571, allocations: 29.7 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.006603, allocations: 100.1 kB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.006632, allocations: 43.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.006684, allocations: 45.64 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.006719, allocations: 326.8 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.00676, allocations: 48.52 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.006821, allocations: 162.1 kB / 0.5498 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.006894, allocations: 76.39 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.006897, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001186/0.007016, allocations: 154.3 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.007043, allocations: 33.7 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007048, allocations: 3.984 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007059, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.00719, allocations: 35.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007194, allocations: 4 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.007281, allocations: 15.98 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.007291, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 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.916e-05/0.00735, allocations: 124.6 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.007369, allocations: 19.92 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.007497, allocations: 98.36 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.007501, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007502, allocations: 4 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.007521, allocations: 15.84 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.007533, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.007556, allocations: 11.98 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.007619, allocations: 4 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.007661, allocations: 15.97 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001745/0.007836, allocations: 212.8 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001729/0.008009, allocations: 321 kB / 0.5509 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.087e-05/0.008059, allocations: 44.98 kB / 0.5509 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.008092, allocations: 39.12 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of Backend: time 2.3e-07/0.008092, allocations: 0 / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.0084, allocations: 213.4 kB / 0.5511 GB, free: 23.49 MB / 410.7 MB Notification: Performance of SimCode: time 0.003473/0.01187, allocations: 0.8755 MB / 0.552 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.005019/0.01689, allocations: 2.963 MB / 0.5549 GB, free: 19.68 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.395298899151385]