Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.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.0006574/0.0006574, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009177/0.001575, 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.0007177/0.0007177, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009372/0.001655, 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.9826/0.9826, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08727/1.07, allocations: 53.66 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.7923/0.7923, allocations: 291.2 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05739/0.8497, allocations: 21.04 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.N02A_Opioids.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.702e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.002778/0.002795, allocations: 2.96 MB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.01381, allocations: 6.767 MB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.01395, allocations: 4 kB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.391e-05/0.01403, allocations: 43.58 kB / 0.554 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.01423, allocations: 119 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.01439, allocations: 75.83 kB / 0.5542 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.01465, allocations: 393.9 kB / 0.5546 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.01477, allocations: 62.84 kB / 0.5546 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.01803, allocations: 246.5 kB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.01823, allocations: 131.6 kB / 0.555 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.01826, allocations: 24 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.0183, allocations: 24 kB / 0.555 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.01834, allocations: 39.81 kB / 0.5551 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.01843, allocations: 95.81 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.01865, allocations: 203.2 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.01866, allocations: 0 / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01867, allocations: 0 / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.01868, allocations: 4 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.0007116/0.01939, allocations: 0.6244 MB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01942, allocations: 8.031 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.01948, allocations: 36.91 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.01967, allocations: 197.5 kB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.0197, allocations: 16.75 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.01973, allocations: 28.27 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.01997, allocations: 244 kB / 0.5565 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01998, allocations: 7.984 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.02, allocations: 8 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.02001, allocations: 8 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.02013, allocations: 133.8 kB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.02074, allocations: 0.5116 MB / 0.5571 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.02397, allocations: 157.1 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.02403, allocations: 104.5 kB / 0.5574 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.02404, allocations: 7.938 kB / 0.5574 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.02424, allocations: 311.4 kB / 0.5577 GB, free: 16.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.215e-06/0.02424, allocations: 0 / 0.5577 GB, free: 16.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000816/0.02506, allocations: 0.8169 MB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.0251, allocations: 217.6 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.02523, allocations: 221 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.02525, allocations: 33.7 kB / 0.5589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.02529, allocations: 141.2 kB / 0.5591 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.02536, allocations: 119 kB / 0.5592 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.02544, allocations: 74.14 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2903/0.3158, allocations: 348.2 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.316, allocations: 143.5 kB / 0.5597 GB, free: 79.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3161, allocations: 249.9 kB / 0.56 GB, free: 79.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3164, allocations: 341.3 kB / 0.5603 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3164, allocations: 1.062 kB / 0.5603 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004219/0.3168, allocations: 386.2 kB / 0.5607 GB, free: 78.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.3169, allocations: 91.41 kB / 0.5608 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3169, allocations: 3.562 kB / 0.5608 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3169, allocations: 4.375 kB / 0.5608 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.3173, allocations: 112.2 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3173, allocations: 10.22 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.3175, allocations: 21.22 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3176, allocations: 13.97 kB / 0.5609 GB, free: 78.64 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.000193/0.3178, allocations: 204.5 kB / 0.5611 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.3178, allocations: 33.31 kB / 0.5611 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3179, allocations: 37.09 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3179, allocations: 3.906 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3179, allocations: 1.062 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3179, allocations: 2.141 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.3185, allocations: 0.5214 MB / 0.5617 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3185, allocations: 0 / 0.5617 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.3188, allocations: 76.98 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3189, allocations: 26.72 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3189, allocations: 2.562 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3189, allocations: 9.953 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3189, allocations: 1.219 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3189, allocations: 3.047 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3194, allocations: 0.5141 MB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.3194, allocations: 15.03 kB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3196, allocations: 16.22 kB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.3196, allocations: 26.58 kB / 0.5624 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3197, allocations: 11.05 kB / 0.5624 GB, free: 77.81 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.3198, allocations: 81.84 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.3198, allocations: 0.5625 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000356/0.3201, allocations: 84.66 kB / 0.5625 GB, free: 77.8 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.0001241/0.3202, allocations: 106.6 kB / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.3206, allocations: 488 kB / 0.5631 GB, free: 77.37 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.3206, allocations: 1.719 kB / 0.5631 GB, free: 77.37 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3208, allocations: 264.8 kB / 0.5634 GB, free: 77.18 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3212, allocations: 121.8 kB / 0.5635 GB, free: 77.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.3342, allocations: 0.7389 MB / 0.5642 GB, free: 76.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3344, allocations: 159.2 kB / 0.5643 GB, free: 76.72 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.3348, allocations: 159.9 kB / 0.5645 GB, free: 76.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.573e-06/0.3348, allocations: 0.5312 kB / 0.5645 GB, free: 76.68 MB / 410.8 MB Notification: Performance of Templates: time 0.006105/0.3409, allocations: 4.022 MB / 0.5684 GB, free: 76 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7532921228557825]