Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.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.0008213/0.0008213, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009009/0.001722, 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.000725/0.000725, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009546/0.00168, 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.038/1.038, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.138, allocations: 53.65 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.7681/0.7681, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03573/0.8039, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.984 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.659e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam): time 0.002735/0.002752, allocations: 2.955 MB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.006374, allocations: 6.77 MB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.006457, allocations: 4 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.448e-05/0.006521, allocations: 35.58 kB / 0.554 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.006666, allocations: 127 kB / 0.5541 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.006787, allocations: 71.78 kB / 0.5542 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.007016, allocations: 390 kB / 0.5546 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.007125, allocations: 66.84 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.007313, allocations: 246.5 kB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.007476, allocations: 131.5 kB / 0.555 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.007504, allocations: 24 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.007534, allocations: 32 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.007563, allocations: 39.81 kB / 0.5551 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.007633, allocations: 91.88 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.007808, allocations: 195.3 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.00782, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00782, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.00783, allocations: 7.938 kB / 0.5554 GB, free: 19.37 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.0005863/0.008416, allocations: 0.6244 MB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.008443, allocations: 15.89 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.008494, allocations: 40.91 kB / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.008651, allocations: 193.5 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.008669, allocations: 16.69 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.008697, allocations: 28.33 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.008892, allocations: 244 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.008904, allocations: 1.625 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.008917, allocations: 8 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.008922, allocations: 4 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.009026, allocations: 145.8 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.009522, allocations: 0.5038 MB / 0.5572 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.009688, allocations: 157.1 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.009752, allocations: 100.5 kB / 0.5574 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.009767, allocations: 15.88 kB / 0.5574 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.009938, allocations: 311.4 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.00994, allocations: 0 / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006758/0.01062, allocations: 0.8053 MB / 0.5585 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.01065, allocations: 225.6 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.01075, allocations: 225 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.01077, allocations: 37.69 kB / 0.559 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.0108, allocations: 141.3 kB / 0.5591 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.01085, allocations: 115 kB / 0.5592 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.0109, allocations: 70.16 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2471/0.258, allocations: 348.9 kB / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.2582, allocations: 143.1 kB / 0.5597 GB, free: 79.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.2583, allocations: 249.5 kB / 0.56 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.2585, allocations: 343.6 kB / 0.5603 GB, free: 78.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2585, allocations: 1.125 kB / 0.5603 GB, free: 78.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002985/0.2588, allocations: 386.8 kB / 0.5607 GB, free: 78.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.2588, allocations: 91.17 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2588, allocations: 2.312 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2588, allocations: 5.531 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.2591, allocations: 111 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2591, allocations: 9 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2593, allocations: 21.2 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2593, allocations: 14.28 kB / 0.5609 GB, free: 78.66 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.0001484/0.2594, allocations: 206.7 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.2595, allocations: 32.56 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2595, allocations: 36.66 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2595, allocations: 4.5 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2595, allocations: 2.344 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2595, allocations: 1.688 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.26, allocations: 0.5198 MB / 0.5617 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.26, allocations: 0.625 kB / 0.5617 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2602, allocations: 75.12 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.2602, allocations: 24.31 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2602, allocations: 1.625 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2603, allocations: 13.22 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2603, allocations: 1.688 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2603, allocations: 1.938 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.2606, allocations: 0.5188 MB / 0.5623 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2606, allocations: 15.34 kB / 0.5623 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.2607, allocations: 16.88 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.2608, allocations: 25.16 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2608, allocations: 13.5 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.2609, allocations: 84.55 kB / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2609, allocations: 0 / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002049/0.2611, allocations: 84.89 kB / 0.5625 GB, free: 77.82 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 9.597e-05/0.2612, allocations: 107.1 kB / 0.5627 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.2614, allocations: 480.9 kB / 0.5631 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2615, allocations: 3 kB / 0.5631 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2616, allocations: 267.2 kB / 0.5634 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.0003171/0.2619, allocations: 124.3 kB / 0.5635 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.2699, allocations: 0.7359 MB / 0.5642 GB, free: 76.82 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.27, allocations: 161.2 kB / 0.5644 GB, free: 76.74 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.2702, allocations: 158.8 kB / 0.5645 GB, free: 76.7 MB / 410.8 MB Notification: Performance of SimCode: time 5.21e-07/0.2702, allocations: 0.8438 kB / 0.5645 GB, free: 76.7 MB / 410.8 MB Notification: Performance of Templates: time 0.004351/0.2746, allocations: 4.022 MB / 0.5684 GB, free: 76.01 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.362044448964298]