Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_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.001144/0.001144, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002358/0.003502, 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.00138/0.00138, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.003134, 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.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.191, 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.7724/0.7724, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03378/0.8062, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.833e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference): time 0.001745/0.001764, allocations: 1.947 MB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.00239, allocations: 0.5716 MB / 0.5471 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.002437, allocations: 4 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.002479, allocations: 11.86 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.002679, allocations: 71.47 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.002793, allocations: 59.78 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.002956, allocations: 172 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.002996, allocations: 9.953 kB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.003137, allocations: 111.8 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.003316, allocations: 75.78 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003338, allocations: 4 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.003359, allocations: 8 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.003402, allocations: 31.91 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.003447, allocations: 27.94 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003556, allocations: 75.69 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.003567, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003567, allocations: 7.938 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.003577, allocations: 4 kB / 0.5477 GB, free: 27.13 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.0005145/0.004092, allocations: 380.2 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004125, allocations: 12.03 kB / 0.5481 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.004165, allocations: 12.92 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.004309, allocations: 157.8 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.00433, allocations: 8.375 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.004354, allocations: 16.3 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004492, allocations: 81.02 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004502, allocations: 3.938 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004512, allocations: 4 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004517, allocations: 0 / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.00456, allocations: 23.97 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.004873, allocations: 197.9 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.005008, allocations: 118.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.005038, allocations: 12.86 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.005059, allocations: 8 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.005201, allocations: 90.23 kB / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.005204, allocations: 0 / 0.5488 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001866/0.00539, allocations: 89.59 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.005422, allocations: 55.41 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.005502, allocations: 142.6 kB / 0.5491 GB, free: 25.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.005516, allocations: 37.69 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.005557, allocations: 92.08 kB / 0.5492 GB, free: 25.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.005583, allocations: 43.83 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.00563, allocations: 49.64 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.005689, allocations: 330.7 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.005735, allocations: 44.52 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.0058, allocations: 165.2 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.005868, allocations: 76.19 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.005871, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001256/0.005997, allocations: 154.6 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.00604, allocations: 33.7 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.006046, allocations: 0 / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006057, allocations: 4 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.006198, allocations: 31.61 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.006204, allocations: 4 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.006274, allocations: 15.98 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.006284, allocations: 0 / 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 7.197e-05/0.006356, allocations: 132.5 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.006375, allocations: 15.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.006511, allocations: 94.42 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006513, allocations: 0 / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.006517, allocations: 8 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006521, allocations: 0 / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.844e-05/0.0066, allocations: 97.75 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006601, allocations: 0 / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.006687, allocations: 31.92 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.006709, allocations: 11.94 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006711, allocations: 3.938 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.006724, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.006727, allocations: 4 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006728, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.006877, allocations: 139.3 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.006896, allocations: 7.922 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.006947, allocations: 8 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.006992, allocations: 19.91 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.006999, allocations: 0 / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.116e-05/0.00703, allocations: 46.5 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00703, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001101/0.00714, allocations: 32 kB / 0.5507 GB, free: 23.76 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 8.916e-05/0.007229, allocations: 84.39 kB / 0.5508 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.0074, allocations: 162 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.007406, allocations: 7.984 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.007458, allocations: 44.72 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.007619, allocations: 54.16 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.01004, allocations: 346.2 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.01007, allocations: 67.84 kB / 0.5515 GB, free: 22.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.01013, allocations: 21.48 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.01023, allocations: 83.34 kB / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01023, allocations: 0 / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of Templates: time 0.003919/0.01415, allocations: 2.751 MB / 0.5543 GB, free: 20.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid_Van1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4820221113041043]