Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.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.001022/0.001022, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002389, allocations: 443.8 kB / 10.3 MB, free: 400 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.001099/0.001099, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002533, allocations: 463.6 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 0.9749/0.9749, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09317/1.068, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.7187/0.7187, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03028/0.749, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.109e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone): time 0.001994/0.002005, allocations: 2.496 MB / 0.5469 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.005919, allocations: 6.68 MB / 0.5534 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.00601, allocations: 0 / 0.5534 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.006069, allocations: 27.7 kB / 0.5534 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.006199, allocations: 91.27 kB / 0.5535 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.006321, allocations: 51.88 kB / 0.5536 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.006505, allocations: 274.5 kB / 0.5538 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.006606, allocations: 30.55 kB / 0.5539 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.006767, allocations: 180.1 kB / 0.554 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.0069, allocations: 87.72 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.006923, allocations: 16 kB / 0.5541 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.006946, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.006972, allocations: 27.88 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.007025, allocations: 63.94 kB / 0.5542 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.007168, allocations: 143.5 kB / 0.5544 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.00718, allocations: 0 / 0.5544 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007181, allocations: 0 / 0.5544 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.00719, allocations: 0 / 0.5544 GB, free: 20.38 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005354/0.007726, allocations: 0.5014 MB / 0.5549 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.007752, allocations: 15.84 kB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.007795, allocations: 28.91 kB / 0.5549 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.007935, allocations: 175.1 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.007952, allocations: 12.61 kB / 0.5551 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.007973, allocations: 12.38 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.008118, allocations: 163.4 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.008129, allocations: 3.938 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.008139, allocations: 4 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008145, allocations: 4 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.008219, allocations: 76.7 kB / 0.5553 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.008573, allocations: 368.9 kB / 0.5557 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.008731, allocations: 112 kB / 0.5558 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.00877, allocations: 62.53 kB / 0.5559 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.008776, allocations: 4 kB / 0.5559 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.008901, allocations: 187.8 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.008902, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005046/0.009407, allocations: 0.5161 MB / 0.5566 GB, free: 17.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.009439, allocations: 132.5 kB / 0.5567 GB, free: 17.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.009528, allocations: 206.1 kB / 0.5569 GB, free: 17.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.009541, allocations: 33.7 kB / 0.5569 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.009575, allocations: 116.4 kB / 0.557 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.009607, allocations: 67.42 kB / 0.5571 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.00966, allocations: 59.12 kB / 0.5571 GB, free: 17.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.009704, allocations: 338.7 kB / 0.5575 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.009753, allocations: 104.9 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.009819, allocations: 173.3 kB / 0.5577 GB, free: 16.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.009924, allocations: 213.5 kB / 0.5579 GB, free: 16.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009926, allocations: 0 / 0.5579 GB, free: 16.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001441/0.01007, allocations: 264.3 kB / 0.5582 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.01009, allocations: 67.39 kB / 0.5582 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.0101, allocations: 0 / 0.5582 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.01011, allocations: 4 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01025, allocations: 63.91 kB / 0.5583 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01026, allocations: 0 / 0.5583 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.01034, allocations: 23.92 kB / 0.5583 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01035, allocations: 8 kB / 0.5583 GB, free: 15.89 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 8.883e-05/0.01044, allocations: 172.3 kB / 0.5585 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.01046, allocations: 19.98 kB / 0.5585 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.01049, allocations: 25.95 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01049, allocations: 0 / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01049, allocations: 4 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01049, allocations: 0 / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.01073, allocations: 370.3 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01073, allocations: 3.938 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01085, allocations: 47.97 kB / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.01088, allocations: 19.84 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01088, allocations: 4 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.0109, allocations: 6.984 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.0109, allocations: 4 kB / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0109, allocations: 0 / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.01113, allocations: 351.8 kB / 0.5593 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.01116, allocations: 8 kB / 0.5593 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01127, allocations: 12 kB / 0.5593 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.01132, allocations: 23.89 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01133, allocations: 11.94 kB / 0.5594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2379/0.2492, allocations: 56.23 kB / 0.5594 GB, free: 79.63 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 0.5594 GB, free: 79.63 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002591/0.2494, allocations: 56 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.48e-05/0.2495, allocations: 95.53 kB / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2498, allocations: 304.1 kB / 0.5599 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2498, allocations: 2.156 kB / 0.5599 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.2498, allocations: 143.1 kB / 0.56 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2501, allocations: 85.36 kB / 0.5601 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.2559, allocations: 0.5843 MB / 0.5607 GB, free: 78.94 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.245e-05/0.256, allocations: 123.4 kB / 0.5608 GB, free: 78.87 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2562, allocations: 120.7 kB / 0.5609 GB, free: 78.83 MB / 410.8 MB Notification: Performance of SimCode: time 5.51e-07/0.2562, allocations: 0.625 kB / 0.5609 GB, free: 78.83 MB / 410.8 MB Notification: Performance of Templates: time 0.003454/0.2596, allocations: 2.931 MB / 0.5638 GB, free: 78.79 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.33160106651485]