Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_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.0007151/0.0007151, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001734, 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.0008451/0.0008451, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009602/0.001805, 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.9697/0.9697, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09521/1.065, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.8227/0.8227, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04149/0.8642, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.535e-05, allocations: 14.19 kB / 0.5444 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference): time 0.004542/0.004568, allocations: 2.93 MB / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.01031, allocations: 6.767 MB / 0.5539 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.01052, allocations: 7.938 kB / 0.5539 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.01064, allocations: 35.62 kB / 0.5539 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.01091, allocations: 134.9 kB / 0.5541 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.01112, allocations: 63.84 kB / 0.5541 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.01143, allocations: 393.9 kB / 0.5545 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.01156, allocations: 58.86 kB / 0.5546 GB, free: 20.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.01183, allocations: 254.5 kB / 0.5548 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.01204, allocations: 123.6 kB / 0.5549 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.01207, allocations: 32 kB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.01211, allocations: 24 kB / 0.555 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.01214, allocations: 39.81 kB / 0.555 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.01222, allocations: 99.81 kB / 0.5551 GB, free: 19.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.01243, allocations: 195.2 kB / 0.5553 GB, free: 19.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.01244, allocations: 3.984 kB / 0.5553 GB, free: 19.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01245, allocations: 4 kB / 0.5553 GB, free: 19.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.01246, allocations: 0 / 0.5553 GB, free: 19.25 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.000702/0.01316, allocations: 0.6205 MB / 0.5559 GB, free: 18.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01319, allocations: 19.84 kB / 0.5559 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.01325, allocations: 40.91 kB / 0.556 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.01345, allocations: 197.5 kB / 0.5562 GB, free: 18.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.01347, allocations: 12.75 kB / 0.5562 GB, free: 18.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.0135, allocations: 28.33 kB / 0.5562 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.01371, allocations: 240.1 kB / 0.5564 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.01372, allocations: 3.938 kB / 0.5564 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.01373, allocations: 11.98 kB / 0.5564 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.01374, allocations: 8 kB / 0.5564 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01387, allocations: 133.8 kB / 0.5566 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.01443, allocations: 0.5077 MB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.01465, allocations: 158.1 kB / 0.5572 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.01474, allocations: 108.5 kB / 0.5573 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.01477, allocations: 7.938 kB / 0.5573 GB, free: 17.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.01498, allocations: 311.4 kB / 0.5576 GB, free: 16.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.01498, allocations: 0 / 0.5576 GB, free: 16.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007207/0.0157, allocations: 0.8014 MB / 0.5584 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.01574, allocations: 225.5 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01585, allocations: 225 kB / 0.5588 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.01586, allocations: 33.7 kB / 0.5589 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.0159, allocations: 141.3 kB / 0.559 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.01595, allocations: 119 kB / 0.5591 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.01601, allocations: 70.17 kB / 0.5592 GB, free: 14.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2963/0.3123, allocations: 349.4 kB / 0.5595 GB, free: 79.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3125, allocations: 140.9 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3126, allocations: 250 kB / 0.5599 GB, free: 79.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.3129, allocations: 345.9 kB / 0.5602 GB, free: 78.87 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3129, allocations: 1.938 kB / 0.5602 GB, free: 78.87 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003549/0.3132, allocations: 386.5 kB / 0.5606 GB, free: 78.65 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.3133, allocations: 92.11 kB / 0.5607 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3133, allocations: 2.188 kB / 0.5607 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3133, allocations: 5.281 kB / 0.5607 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.3136, allocations: 107.8 kB / 0.5608 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3136, allocations: 7.766 kB / 0.5608 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3138, allocations: 22.44 kB / 0.5608 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3138, allocations: 17.59 kB / 0.5608 GB, free: 78.55 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.0001607/0.314, allocations: 201.1 kB / 0.561 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.314, allocations: 34.09 kB / 0.5611 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.3141, allocations: 37.88 kB / 0.5611 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3141, allocations: 4.156 kB / 0.5611 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3141, allocations: 1.688 kB / 0.5611 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3141, allocations: 2.484 kB / 0.5611 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.3146, allocations: 0.5173 MB / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3146, allocations: 1.797 kB / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.3149, allocations: 75.67 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.3149, allocations: 22.8 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3149, allocations: 3.406 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.315, allocations: 10.39 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.315, allocations: 1.969 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.315, allocations: 2.109 kB / 0.5617 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3154, allocations: 0.5267 MB / 0.5622 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3154, allocations: 16.86 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3155, allocations: 11.3 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.3156, allocations: 28.8 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3156, allocations: 7.672 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.3157, allocations: 80.98 kB / 0.5624 GB, free: 77.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3157, allocations: 0 / 0.5624 GB, free: 77.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003085/0.316, allocations: 88.16 kB / 0.5625 GB, free: 77.71 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.000115/0.3161, allocations: 104.7 kB / 0.5626 GB, free: 77.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.3165, allocations: 488.6 kB / 0.563 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3165, allocations: 3.594 kB / 0.563 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3166, allocations: 264.3 kB / 0.5633 GB, free: 77.09 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.317, allocations: 126 kB / 0.5634 GB, free: 77.09 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.3281, allocations: 0.7392 MB / 0.5641 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3282, allocations: 161.2 kB / 0.5643 GB, free: 76.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.3285, allocations: 156.5 kB / 0.5644 GB, free: 76.59 MB / 410.8 MB Notification: Performance of SimCode: time 8.41e-07/0.3285, allocations: 0 / 0.5644 GB, free: 76.59 MB / 410.8 MB Notification: Performance of Templates: time 0.005464/0.334, allocations: 4.019 MB / 0.5684 GB, free: 75.9 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.689779166132212]