Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_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.0009966/0.0009966, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.00242, 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.001084/0.001084, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002468, 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 0.9578/0.9578, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.067, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7601/0.7601, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03174/0.7919, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.746e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference): time 0.002878/0.002905, allocations: 1.953 MB / 0.5465 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.003905, allocations: 0.5667 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.003986, allocations: 3.938 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.004053, allocations: 7.922 kB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.004399, allocations: 71.48 kB / 0.5471 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.004592, allocations: 67.77 kB / 0.5472 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.004825, allocations: 172 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.004874, allocations: 5.969 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.005064, allocations: 115.7 kB / 0.5475 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.005291, allocations: 79.77 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.005331, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.005357, allocations: 8 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.005411, allocations: 19.94 kB / 0.5476 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.005468, allocations: 27.94 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.005609, allocations: 79.73 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.005623, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005624, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.00564, allocations: 3.938 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.0006464/0.006286, allocations: 392.1 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.006326, allocations: 11.89 kB / 0.5481 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.006376, allocations: 12.92 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.006543, allocations: 154.8 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.006565, allocations: 8.375 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.006593, allocations: 4.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.00675, allocations: 81.02 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006759, allocations: 3.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.006771, allocations: 4 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006776, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.006832, allocations: 19.98 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.007155, allocations: 205.8 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.007295, allocations: 113.6 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.007331, allocations: 16.86 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.007349, allocations: 4 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.00749, allocations: 94.22 kB / 0.5488 GB, free: 26.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.007492, allocations: 4 kB / 0.5488 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001829/0.007675, allocations: 89.59 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.007699, allocations: 55.41 kB / 0.5489 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.007784, allocations: 146.6 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.0078, allocations: 33.7 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.007837, allocations: 96.06 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.007871, allocations: 43.62 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.007929, allocations: 45.84 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.007976, allocations: 326.8 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.008026, allocations: 44.47 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.008105, allocations: 166.1 kB / 0.5498 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.008194, allocations: 90.91 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.008198, allocations: 3.312 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001395/0.008337, allocations: 147.8 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.00837, allocations: 29.7 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008374, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008387, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.008537, allocations: 39.92 kB / 0.5501 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.008541, allocations: 3.984 kB / 0.5501 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.008638, allocations: 12 kB / 0.5501 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.008653, allocations: 4 kB / 0.5501 GB, free: 24.67 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 6.815e-05/0.008721, allocations: 128.6 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.008742, allocations: 11.94 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.008897, allocations: 94.36 kB / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.008903, allocations: 3.984 kB / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008905, allocations: 0 / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.008928, allocations: 15.84 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.008942, allocations: 4 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.008965, allocations: 8 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.00905, allocations: 11.98 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.009108, allocations: 15.97 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002094/0.009317, allocations: 208.8 kB / 0.5506 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002042/0.009521, allocations: 325 kB / 0.5509 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.85e-05/0.00958, allocations: 36.97 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.009619, allocations: 43.12 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of Backend: time 3.41e-07/0.009619, allocations: 4.031 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.00998, allocations: 219.9 kB / 0.5511 GB, free: 23.49 MB / 410.7 MB Notification: Performance of SimCode: time 0.004114/0.01409, allocations: 0.8794 MB / 0.552 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.00503/0.01912, allocations: 2.943 MB / 0.5549 GB, free: 19.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.346275062300265]