Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.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.0006924/0.0006924, allocations: 72.12 kB / 9.871 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.00167, allocations: 443.9 kB / 10.3 MB, free: 396 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.0007287/0.0007287, allocations: 157.2 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009833/0.001712, allocations: 467.5 kB / 11.64 MB, free: 2.527 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.036/1.036, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.139, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7938/0.7938, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0258/0.8196, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.NickelTrioxide.NickelTrioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.212e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide): time 0.001567/0.001579, allocations: 1.97 MB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005492/0.002129, allocations: 0.5692 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.002172, allocations: 0 / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.002212, allocations: 15.86 kB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.002398, allocations: 67.48 kB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.002513, allocations: 63.83 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.002659, allocations: 164 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.002693, allocations: 13.89 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.002821, allocations: 115.8 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.002986, allocations: 71.78 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.003008, allocations: 8 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.003029, allocations: 12 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.003068, allocations: 27.86 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.00311, allocations: 31.94 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.003209, allocations: 71.75 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.003222, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003223, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.003234, allocations: 0 / 0.5476 GB, free: 27.37 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.0004811/0.003715, allocations: 384.2 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.484e-05/0.00374, allocations: 15.89 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.003776, allocations: 12.92 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.003901, allocations: 154.8 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.003919, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.003937, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.00405, allocations: 77.02 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.004057, allocations: 3.938 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.004065, allocations: 0 / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00407, allocations: 7.938 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.004111, allocations: 19.98 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.004337, allocations: 213.8 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.00444, allocations: 114.9 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.004465, allocations: 16.84 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.004478, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.004579, allocations: 86.23 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.00458, allocations: 0 / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001362/0.004716, allocations: 97.58 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.004738, allocations: 51.41 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.004806, allocations: 150.6 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004818, allocations: 29.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.004845, allocations: 100.1 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.004867, allocations: 39.67 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.004907, allocations: 41.64 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.857e-05/0.004935, allocations: 322.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.004968, allocations: 44.52 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.005018, allocations: 158.1 kB / 0.5497 GB, free: 25.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.005078, allocations: 90.75 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00508, allocations: 4 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.102e-05/0.005171, allocations: 147.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.005195, allocations: 33.69 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005199, allocations: 7 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.005207, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.005308, allocations: 35.92 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.00531, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.005379, allocations: 15.92 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.005388, allocations: 7.125 kB / 0.55 GB, free: 24.68 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 4.27e-05/0.005431, allocations: 128.8 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.005446, allocations: 15.92 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.707e-05/0.005543, allocations: 102.3 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005545, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.005546, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005549, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.005617, allocations: 101.8 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005618, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.005696, allocations: 23.98 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.005711, allocations: 15.97 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005712, allocations: 11.94 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.005723, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005723, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005724, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.005848, allocations: 138.6 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.005864, allocations: 3.938 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.005913, allocations: 15.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.005949, allocations: 11.97 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.005955, allocations: 4 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.005982, allocations: 42.5 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005982, allocations: 4.031 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.006096, allocations: 32 kB / 0.5506 GB, free: 23.99 MB / 410.7 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 5.655e-05/0.006153, allocations: 83.73 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.006268, allocations: 149.8 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006271, allocations: 0 / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.006308, allocations: 48.77 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.006446, allocations: 51.95 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.00899, allocations: 387.9 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.00903, allocations: 97.8 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.009142, allocations: 91.34 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009142, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.001975/0.01112, allocations: 2.036 MB / 0.5535 GB, free: 21.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.222896149381995]