Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.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.00114/0.00114, 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.006216/0.006216, allocations: 165.9 kB / 23.21 MB, free: 1.336 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 0.9755/0.9755, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6977/0.6977, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") translateModel(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.6972 GB, free: 10.47 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.283e-05, allocations: 5.375 kB / 0.6972 GB, free: 10.46 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.003363/0.003396, allocations: 2.029 MB / 0.6992 GB, free: 8.418 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.004414, allocations: 0.5221 MB / 0.6997 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004515, allocations: 8 kB / 0.6997 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.329e-05/0.004579, allocations: 19.78 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.004809, allocations: 55.5 kB / 0.6998 GB, free: 7.809 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.005, allocations: 47.88 kB / 0.6999 GB, free: 7.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.005234, allocations: 195.1 kB / 0.7 GB, free: 7.57 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.005384, allocations: 26.03 kB / 0.7001 GB, free: 7.543 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005554, allocations: 119.6 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005654, allocations: 59.86 kB / 0.7002 GB, free: 7.367 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.005685, allocations: 20 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.005707, allocations: 16 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.005742, allocations: 31.84 kB / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.005811, allocations: 63.83 kB / 0.7004 GB, free: 7.238 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.006006, allocations: 167.5 kB / 0.7005 GB, free: 7.074 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.006009, allocations: 0 / 0.7005 GB, free: 7.074 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006011, allocations: 0 / 0.7005 GB, free: 7.074 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.006017, allocations: 0 / 0.7005 GB, free: 7.074 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007399/0.006757, allocations: 445 kB / 0.7009 GB, free: 6.598 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.006799, allocations: 8.031 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.006861, allocations: 16.84 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.007162, allocations: 182.1 kB / 0.7011 GB, free: 6.371 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.007184, allocations: 8.375 kB / 0.7011 GB, free: 6.363 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.007219, allocations: 12.38 kB / 0.7012 GB, free: 6.352 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.007495, allocations: 156.4 kB / 0.7013 GB, free: 6.188 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.007512, allocations: 7.938 kB / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.007528, allocations: 0 / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007534, allocations: 8 kB / 0.7013 GB, free: 6.172 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.007807, allocations: 137.5 kB / 0.7015 GB, free: 6.031 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.008504, allocations: 403.4 kB / 0.7018 GB, free: 5.602 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.00883, allocations: 160.1 kB / 0.702 GB, free: 5.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.008959, allocations: 82.53 kB / 0.7021 GB, free: 5.34 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.008972, allocations: 4 kB / 0.7021 GB, free: 5.336 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.009269, allocations: 217.3 kB / 0.7023 GB, free: 5.094 MB / 410.8 MB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.009271, allocations: 3.938 kB / 0.7023 GB, free: 5.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=19): time 0.001228/0.0105, allocations: 0.657 MB / 0.7029 GB, free: 4.371 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.01055, allocations: 148.4 kB / 0.7031 GB, free: 4.195 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01068, allocations: 159.3 kB / 0.7032 GB, free: 4.031 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.0107, allocations: 37.69 kB / 0.7033 GB, free: 3.988 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.01076, allocations: 108.5 kB / 0.7034 GB, free: 3.879 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.0108, allocations: 63.53 kB / 0.7034 GB, free: 3.816 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.01086, allocations: 45.7 kB / 0.7035 GB, free: 3.766 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.01091, allocations: 326.8 kB / 0.7038 GB, free: 3.438 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.0111, allocations: 136.7 kB / 0.7039 GB, free: 3.289 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01129, allocations: 212.3 kB / 0.7041 GB, free: 3.043 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.01172, allocations: 299.6 kB / 0.7044 GB, free: 2.711 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01172, allocations: 0 / 0.7044 GB, free: 2.711 MB / 410.8 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004906/0.01221, allocations: 367.8 kB / 0.7047 GB, free: 2.324 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.01225, allocations: 63.41 kB / 0.7048 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01226, allocations: 4 kB / 0.7048 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.01228, allocations: 0 / 0.7048 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01246, allocations: 51.84 kB / 0.7049 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01247, allocations: 0 / 0.7049 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01259, allocations: 24.14 kB / 0.7049 GB, free: 2.172 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01261, allocations: 12 kB / 0.7049 GB, free: 2.16 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real linearEffect.Ce:VARIABLE(min = -1e-9 unit = \"kg/m3\" fixed = true ) \"effect site conc\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (ntcomp.Cmin,$PRE.ntcomp.Cmin,ntcomp.Cmax,$PRE.ntcomp.Cmax,ntcomp.rising,$PRE.ntcomp.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001731/0.01278, allocations: 176.5 kB / 0.7051 GB, free: 1.977 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01281, allocations: 15.91 kB / 0.7051 GB, free: 1.961 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.01284, allocations: 17.11 kB / 0.7051 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01285, allocations: 4 kB / 0.7051 GB, free: 1.941 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01285, allocations: 3.938 kB / 0.7051 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01286, allocations: 7.938 kB / 0.7051 GB, free: 1.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.01343, allocations: 0.5014 MB / 0.7056 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01343, allocations: 0 / 0.7056 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.01358, allocations: 31.98 kB / 0.7056 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01358, allocations: 0 / 0.7056 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.0136, allocations: 11.92 kB / 0.7056 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.0136, allocations: 0 / 0.7056 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01361, allocations: 0 / 0.7056 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.01414, allocations: 481.3 kB / 0.7061 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.01416, allocations: 11.91 kB / 0.7061 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.0142, allocations: 11.94 kB / 0.7061 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01433, allocations: 12.03 kB / 0.7061 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.01441, allocations: 19.97 kB / 0.7062 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01442, allocations: 11.94 kB / 0.7062 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.01449, allocations: 119.2 kB / 0.7063 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01449, allocations: 4 kB / 0.7063 GB, free: 0.6484 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002966/0.01479, allocations: 44 kB / 0.7063 GB, free: 0.6055 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (linearEffect.Ce,singleDose.TotalCumulativeMass,ntcomp.C,ntcomp.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,ntcomp.Cmax,ntcomp.Cmin,ntcomp.rising) * Number of discrete states: 6 (singleDose.pulse.count,ntcomp.Cmin,$whenCondition2,ntcomp.Cmax,$whenCondition1,ntcomp.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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.0001161/0.0149, allocations: 107.2 kB / 0.7064 GB, free: 500 kB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.01535, allocations: 355.8 kB / 0.7068 GB, free: 100 kB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01535, allocations: 0 / 0.7068 GB, free: 100 kB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.01556, allocations: 165.4 kB / 0.7069 GB, free: 15.91 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.01596, allocations: 43.97 kB / 0.707 GB, free: 15.87 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01699, allocations: 0.5246 MB / 0.7075 GB, free: 15.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.138e-05/0.01708, allocations: 107.8 kB / 0.7076 GB, free: 15.18 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.01715, allocations: 24.5 kB / 0.7076 GB, free: 15.16 MB / 426.8 MB Notification: Performance of SimCode: time 9.61e-07/0.01715, allocations: 0 / 0.7076 GB, free: 15.16 MB / 426.8 MB Notification: Performance of Templates: time 0.00396/0.02111, allocations: 2.325 MB / 0.7099 GB, free: 12.85 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect > Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.625463857315481]