Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_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.0008006/0.0008006, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001859, 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.0007297/0.0007297, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009915/0.001721, 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 1.008/1.008, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09388/1.102, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7655/0.7655, allocations: 291.2 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03058/0.7961, allocations: 21.03 MB / 0.5431 GB, free: 31.97 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.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.886e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference): time 0.004035/0.004064, allocations: 2.931 MB / 0.5473 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007905/0.01197, allocations: 6.77 MB / 0.5539 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.01234, allocations: 0 / 0.5539 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.0125, allocations: 39.62 kB / 0.554 GB, free: 20.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.01289, allocations: 130.9 kB / 0.5541 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.0132, allocations: 71.84 kB / 0.5541 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000477/0.01368, allocations: 386 kB / 0.5545 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.01387, allocations: 58.84 kB / 0.5546 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.01429, allocations: 262.5 kB / 0.5548 GB, free: 19.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.01458, allocations: 123.6 kB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.01463, allocations: 24 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.01469, allocations: 28 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.01473, allocations: 39.81 kB / 0.555 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.01484, allocations: 95.81 kB / 0.5551 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.01513, allocations: 199.3 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.018e-05/0.01516, allocations: 0 / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01516, allocations: 0 / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.01517, allocations: 0 / 0.5553 GB, free: 19.43 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008216/0.01599, allocations: 0.6321 MB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01603, allocations: 15.84 kB / 0.5559 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.0161, allocations: 36.91 kB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.01634, allocations: 193.5 kB / 0.5562 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.01637, allocations: 20.75 kB / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.0164, allocations: 28.31 kB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.01668, allocations: 244 kB / 0.5564 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.0167, allocations: 0 / 0.5564 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.01671, allocations: 12 kB / 0.5565 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01672, allocations: 4 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.01688, allocations: 141.8 kB / 0.5566 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.01763, allocations: 0.5116 MB / 0.5571 GB, free: 17.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01789, allocations: 152.1 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.01797, allocations: 104.5 kB / 0.5573 GB, free: 17.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.01798, allocations: 11.94 kB / 0.5573 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.01822, allocations: 309.4 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.347e-06/0.01822, allocations: 0 / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009854/0.0192, allocations: 0.8085 MB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.01926, allocations: 221.6 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01941, allocations: 225 kB / 0.5589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01943, allocations: 37.7 kB / 0.5589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.01948, allocations: 137.3 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.01955, allocations: 115 kB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.01964, allocations: 74.16 kB / 0.5592 GB, free: 15.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2692/0.2888, allocations: 349.4 kB / 0.5595 GB, free: 79.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.289, allocations: 140.2 kB / 0.5597 GB, free: 79.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.2891, allocations: 250.3 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.2893, allocations: 344.6 kB / 0.5602 GB, free: 78.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2893, allocations: 1.125 kB / 0.5602 GB, free: 78.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003057/0.2896, allocations: 387 kB / 0.5606 GB, free: 78.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.2897, allocations: 91.64 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2897, allocations: 3.156 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2897, allocations: 5.688 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.29, allocations: 112 kB / 0.5608 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.29, allocations: 7.141 kB / 0.5608 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2901, allocations: 18.64 kB / 0.5608 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2902, allocations: 14.28 kB / 0.5608 GB, free: 78.67 MB / 410.8 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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 0.000157/0.2903, allocations: 206.4 kB / 0.561 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.2904, allocations: 33.98 kB / 0.5611 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.2904, allocations: 34 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2904, allocations: 3.969 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2904, allocations: 0 / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2904, allocations: 2.844 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.2909, allocations: 0.5172 MB / 0.5616 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2909, allocations: 1.312 kB / 0.5616 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.2911, allocations: 76.42 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2912, allocations: 26.02 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2912, allocations: 3.625 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2912, allocations: 10.8 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2912, allocations: 2.109 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2912, allocations: 0.5312 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2915, allocations: 0.5255 MB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.2916, allocations: 10.72 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2917, allocations: 14.72 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.2917, allocations: 26.14 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2917, allocations: 13.56 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.2918, allocations: 79.45 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2918, allocations: 2.688 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002123/0.292, allocations: 84.36 kB / 0.5625 GB, free: 77.83 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000101/0.2921, allocations: 109.3 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.2924, allocations: 488 kB / 0.563 GB, free: 77.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.2924, allocations: 3.781 kB / 0.563 GB, free: 77.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2925, allocations: 256.7 kB / 0.5633 GB, free: 77.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2929, allocations: 128.7 kB / 0.5634 GB, free: 77.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.3009, allocations: 0.74 MB / 0.5641 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.301, allocations: 164.3 kB / 0.5643 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.3013, allocations: 158.5 kB / 0.5644 GB, free: 76.71 MB / 410.8 MB Notification: Performance of SimCode: time 1.713e-06/0.3013, allocations: 0.6562 kB / 0.5644 GB, free: 76.71 MB / 410.8 MB Notification: Performance of Templates: time 0.004815/0.3061, allocations: 4.017 MB / 0.5684 GB, free: 76.01 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.515471884049475]