Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.001053/0.001053, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002473, allocations: 455.9 kB / 10.35 MB, free: 348 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.00101/0.00101, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002335, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.102/1.102, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1298/1.232, allocations: 53.66 MB / 243.3 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.8565/0.8565, allocations: 291.2 MB / 0.5227 GB, free: 52.73 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03892/0.8954, allocations: 21.05 MB / 0.5432 GB, free: 31.75 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.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.288e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference): time 0.002187/0.0022, allocations: 1.952 MB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.005951, allocations: 0.5716 MB / 0.5471 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.006005, allocations: 0 / 0.5471 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.437e-05/0.006059, allocations: 19.86 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.006307, allocations: 63.48 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.006453, allocations: 67.77 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.006647, allocations: 172 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.006698, allocations: 5.969 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.00686, allocations: 115.8 kB / 0.5475 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.007071, allocations: 75.77 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.007098, allocations: 8 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.007122, allocations: 11.94 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.007169, allocations: 15.94 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.007222, allocations: 31.94 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.007361, allocations: 75.73 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.007376, allocations: 0 / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007376, allocations: 3.938 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.007392, allocations: 4 kB / 0.5477 GB, free: 27.15 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.000588/0.00798, allocations: 388.1 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.00801, allocations: 8.031 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.008048, allocations: 16.92 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.008186, allocations: 154.8 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.008204, allocations: 4.375 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.008231, allocations: 12.38 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.00836, allocations: 77.02 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.008368, allocations: 3.938 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.008378, allocations: 4 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008384, allocations: 4 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.008434, allocations: 19.98 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.01172, allocations: 201.8 kB / 0.5486 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01183, allocations: 122.9 kB / 0.5487 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.01187, allocations: 16.86 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.01188, allocations: 8 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.012, allocations: 86.23 kB / 0.5488 GB, free: 25.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.012, allocations: 4 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001574/0.01216, allocations: 85.59 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.01218, allocations: 51.41 kB / 0.5489 GB, free: 25.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.01226, allocations: 154.6 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.01228, allocations: 25.7 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.01231, allocations: 104.1 kB / 0.5492 GB, free: 25.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.01234, allocations: 43.83 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.01239, allocations: 45.64 kB / 0.5493 GB, free: 25.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.01242, allocations: 330.7 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.01246, allocations: 40.53 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.01253, allocations: 164.9 kB / 0.5498 GB, free: 24.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.0126, allocations: 84.11 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0126, allocations: 3.188 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001119/0.01272, allocations: 146.5 kB / 0.55 GB, free: 24.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.01274, allocations: 37.7 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.01275, allocations: 0 / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.01275, allocations: 0 / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01287, allocations: 39.91 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01288, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.01296, allocations: 12 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.01296, allocations: 4 kB / 0.5501 GB, free: 24.46 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.093e-05/0.01302, allocations: 124.6 kB / 0.5502 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.01303, allocations: 11.94 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.01315, allocations: 98.36 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.01315, allocations: 3.984 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01315, allocations: 4 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01316, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.647e-05/0.01324, allocations: 105.8 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01324, allocations: 0 / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.01333, allocations: 19.98 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01335, allocations: 11.95 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01335, allocations: 3.938 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01336, allocations: 4 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01336, allocations: 0 / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01336, allocations: 3.984 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01352, allocations: 142.6 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01354, allocations: 11.94 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01359, allocations: 7.984 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01364, allocations: 15.97 kB / 0.5507 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.01365, allocations: 7.688 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.01368, allocations: 35.94 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01368, allocations: 4 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.01384, allocations: 28 kB / 0.5507 GB, free: 23.78 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 7.002e-05/0.01391, allocations: 92.34 kB / 0.5508 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.01405, allocations: 154.7 kB / 0.551 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.01406, allocations: 0 / 0.551 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.01412, allocations: 52.7 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.0143, allocations: 55.39 kB / 0.5511 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.01849, allocations: 342.2 kB / 0.5514 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.01852, allocations: 71.83 kB / 0.5515 GB, free: 22.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.01859, allocations: 21.52 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01869, allocations: 91.34 kB / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0187, allocations: 0 / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of Templates: time 0.004751/0.02345, allocations: 2.748 MB / 0.5543 GB, free: 20.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6499625612050295]