Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_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.0009923/0.0009923, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001077/0.001077, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.017/1.017, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.746/0.746, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6973 GB, free: 10.47 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.922e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference): time 0.00234/0.00237, allocations: 2.282 MB / 0.6995 GB, free: 8.164 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.006853, allocations: 6.537 MB / 0.7059 GB, free: 1.617 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.007024, allocations: 0 / 0.7059 GB, free: 1.617 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.007153, allocations: 31.72 kB / 0.706 GB, free: 1.586 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.007357, allocations: 91.25 kB / 0.706 GB, free: 1.496 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.007579, allocations: 47.88 kB / 0.7061 GB, free: 1.449 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.007814, allocations: 270.6 kB / 0.7063 GB, free: 1.184 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.007953, allocations: 36.52 kB / 0.7064 GB, free: 1.152 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.008098, allocations: 135.7 kB / 0.7065 GB, free: 1.02 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.008266, allocations: 87.72 kB / 0.7066 GB, free: 0.9336 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.008295, allocations: 16 kB / 0.7066 GB, free: 0.918 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.008321, allocations: 16 kB / 0.7066 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.008349, allocations: 39.78 kB / 0.7067 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.008418, allocations: 79.83 kB / 0.7067 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.008608, allocations: 203.3 kB / 0.7069 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00861, allocations: 0 / 0.7069 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.844e-06/0.008612, allocations: 0 / 0.7069 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.008618, allocations: 0 / 0.7069 GB, free: 0.5859 MB / 410.8 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.0006165/0.009234, allocations: 496.8 kB / 0.7074 GB, free: 56 kB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.009271, allocations: 8.031 kB / 0.7074 GB, free: 48 kB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.009321, allocations: 28.8 kB / 0.7074 GB, free: 20 kB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.009541, allocations: 178.5 kB / 0.7076 GB, free: 15.81 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.00956, allocations: 16.45 kB / 0.7076 GB, free: 15.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.00959, allocations: 12.38 kB / 0.7076 GB, free: 15.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.009859, allocations: 194.5 kB / 0.7078 GB, free: 15.59 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.009873, allocations: 7.953 kB / 0.7078 GB, free: 15.58 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.009888, allocations: 4 kB / 0.7078 GB, free: 15.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.009894, allocations: 4 kB / 0.7078 GB, free: 15.57 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.0101, allocations: 150.2 kB / 0.708 GB, free: 15.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.0107, allocations: 485.3 kB / 0.7084 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.01106, allocations: 176 kB / 0.7086 GB, free: 14.72 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.01119, allocations: 98.52 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.0112, allocations: 4 kB / 0.7087 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.01144, allocations: 232.4 kB / 0.7089 GB, free: 14.36 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.01144, allocations: 0 / 0.7089 GB, free: 14.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001183/0.01262, allocations: 0.6976 MB / 0.7096 GB, free: 13.6 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.01269, allocations: 136.5 kB / 0.7097 GB, free: 13.43 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01284, allocations: 219 kB / 0.71 GB, free: 13.21 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.01286, allocations: 37.69 kB / 0.71 GB, free: 13.17 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.01293, allocations: 132.4 kB / 0.7101 GB, free: 13.04 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.01297, allocations: 75.41 kB / 0.7102 GB, free: 12.96 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.01303, allocations: 49.7 kB / 0.7102 GB, free: 12.91 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.01312, allocations: 338.8 kB / 0.7106 GB, free: 12.57 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.01326, allocations: 141 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.01343, allocations: 221.9 kB / 0.7109 GB, free: 12.15 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.01368, allocations: 284.8 kB / 0.7112 GB, free: 11.83 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01368, allocations: 0 / 0.7112 GB, free: 11.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003711/0.01406, allocations: 398.2 kB / 0.7116 GB, free: 11.41 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.0141, allocations: 63.39 kB / 0.7116 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01411, allocations: 0 / 0.7116 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01412, allocations: 4 kB / 0.7116 GB, free: 11.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01424, allocations: 55.84 kB / 0.7117 GB, free: 11.28 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01425, allocations: 4 kB / 0.7117 GB, free: 11.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.01434, allocations: 19.92 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01436, allocations: 16.22 kB / 0.7117 GB, free: 11.24 MB / 426.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: 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 0.0001687/0.01453, allocations: 173.8 kB / 0.7119 GB, free: 11.05 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.01455, allocations: 19.91 kB / 0.7119 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.01459, allocations: 21.95 kB / 0.7119 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01459, allocations: 4 kB / 0.7119 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.0146, allocations: 3.938 kB / 0.7119 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0146, allocations: 3.984 kB / 0.7119 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.01512, allocations: 0.543 MB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01513, allocations: 4 kB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01524, allocations: 31.97 kB / 0.7125 GB, free: 10.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01524, allocations: 0 / 0.7125 GB, free: 10.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01525, allocations: 8 kB / 0.7125 GB, free: 10.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01526, allocations: 0 / 0.7125 GB, free: 10.37 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01526, allocations: 0 / 0.7125 GB, free: 10.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.01574, allocations: 0.508 MB / 0.713 GB, free: 9.828 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.01577, allocations: 23.89 kB / 0.713 GB, free: 9.805 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.0158, allocations: 8 kB / 0.713 GB, free: 9.797 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.01588, allocations: 11.98 kB / 0.713 GB, free: 9.785 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.01595, allocations: 23.97 kB / 0.7131 GB, free: 9.762 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01595, allocations: 4 kB / 0.7131 GB, free: 9.758 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.931e-05/0.01605, allocations: 160.4 kB / 0.7132 GB, free: 9.602 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01605, allocations: 4 kB / 0.7132 GB, free: 9.598 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001969/0.01625, allocations: 52 kB / 0.7133 GB, free: 9.547 MB / 426.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 0.0001196/0.01637, allocations: 119.1 kB / 0.7134 GB, free: 9.422 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.01673, allocations: 382.3 kB / 0.7138 GB, free: 9.008 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01674, allocations: 4 kB / 0.7138 GB, free: 9.004 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.01687, allocations: 165 kB / 0.7139 GB, free: 8.824 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01718, allocations: 66.67 kB / 0.714 GB, free: 8.762 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.01797, allocations: 0.6109 MB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.925e-05/0.01804, allocations: 125.6 kB / 0.7147 GB, free: 7.969 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.0181, allocations: 20.5 kB / 0.7147 GB, free: 7.949 MB / 426.8 MB Notification: Performance of SimCode: time 8.51e-07/0.0181, allocations: 0 / 0.7147 GB, free: 7.949 MB / 426.8 MB Notification: Performance of Templates: time 0.003919/0.02202, allocations: 2.94 MB / 0.7176 GB, free: 5.039 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.647882049903274]