Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.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.001075/0.001075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00197/0.003045, allocations: 440 kB / 10.41 MB, free: 284 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.001193/0.001193, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002809, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9457/0.9457, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08456/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.8367/0.8367, allocations: 291.2 MB / 0.5228 GB, free: 52.67 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03094/0.8677, allocations: 21.05 MB / 0.5434 GB, free: 31.67 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.DomoicAcid.DomoicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5448 GB, free: 30.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.129e-05, allocations: 6.25 kB / 0.5448 GB, free: 30.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid): time 0.002327/0.002348, allocations: 1.969 MB / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.003021, allocations: 0.5717 MB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.003066, allocations: 0 / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.003119, allocations: 11.86 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.003325, allocations: 67.48 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.003466, allocations: 71.77 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.003643, allocations: 172 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.003682, allocations: 5.969 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.003827, allocations: 115.7 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.004012, allocations: 67.84 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.004035, allocations: 8 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.004057, allocations: 4 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.004105, allocations: 31.86 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.00415, allocations: 27.94 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.004268, allocations: 83.67 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.00428, allocations: 4 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00428, allocations: 0 / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.004288, allocations: 0 / 0.5479 GB, free: 27 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.0005221/0.00481, allocations: 392.1 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.004839, allocations: 11.89 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.004882, allocations: 16.11 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.005024, allocations: 152.5 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.005042, allocations: 12.31 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.005067, allocations: 12.38 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.005205, allocations: 77.03 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.005212, allocations: 3.938 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.005223, allocations: 3.984 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005228, allocations: 0 / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.005276, allocations: 19.98 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.00556, allocations: 201.9 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.005686, allocations: 118.9 kB / 0.5489 GB, free: 25.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.005719, allocations: 21.08 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.005736, allocations: 11.94 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.005861, allocations: 78.11 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.005862, allocations: 0 / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001625/0.006024, allocations: 93.59 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.006045, allocations: 51.41 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.006119, allocations: 150.6 kB / 0.5493 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.006134, allocations: 29.7 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.006165, allocations: 96.06 kB / 0.5494 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.00619, allocations: 47.62 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.006242, allocations: 45.62 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.006277, allocations: 326.8 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.006318, allocations: 40.53 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.006381, allocations: 158.1 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.006459, allocations: 86.97 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006461, allocations: 0 / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001221/0.006583, allocations: 151.8 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.00661, allocations: 29.7 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006614, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006625, allocations: 8 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.006751, allocations: 31.98 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006754, allocations: 3.984 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.006835, allocations: 8 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.006844, allocations: 4 kB / 0.5503 GB, free: 24.32 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.565e-05/0.0069, allocations: 128.6 kB / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.006918, allocations: 11.94 kB / 0.5505 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.007042, allocations: 94.55 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007044, allocations: 4 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.007046, allocations: 3.984 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.00705, allocations: 4.031 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.65e-05/0.007137, allocations: 101.8 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007139, allocations: 3.188 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.007234, allocations: 27.92 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.007249, allocations: 7.953 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007252, allocations: 7.938 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.007264, allocations: 3.938 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007265, allocations: 0 / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007267, allocations: 0 / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.007421, allocations: 143.3 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.007444, allocations: 7.938 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.007505, allocations: 15.92 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.007542, allocations: 7.984 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.007551, allocations: 11.98 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.007584, allocations: 36.75 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007584, allocations: 0 / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.007746, allocations: 32 kB / 0.5509 GB, free: 23.63 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.906e-05/0.007825, allocations: 92.38 kB / 0.551 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.007964, allocations: 144.6 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.00797, allocations: 4 kB / 0.5512 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.008031, allocations: 56.83 kB / 0.5512 GB, free: 23.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.008249, allocations: 367.2 kB / 0.5516 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.0115, allocations: 358.2 kB / 0.5519 GB, free: 22.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.01152, allocations: 67.84 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.01159, allocations: 17.48 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.01172, allocations: 91.34 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01172, allocations: 0 / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of Templates: time 0.004393/0.01611, allocations: 2.763 MB / 0.5548 GB, free: 19.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2023013392463326]