Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.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.0009773/0.0009773, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.001137/0.001137, allocations: 165.8 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.053/1.053, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.754/0.754, allocations: 291.1 MB / 0.5382 GB, free: 51.85 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.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.984 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.104e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine): time 0.002836/0.002867, allocations: 3.013 MB / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.008002, allocations: 6.646 MB / 0.7068 GB, free: 0.6484 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.008231, allocations: 4 kB / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.008382, allocations: 43.56 kB / 0.7068 GB, free: 0.6016 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.008636, allocations: 127 kB / 0.707 GB, free: 488 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.008892, allocations: 95.7 kB / 0.7071 GB, free: 392 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.009167, allocations: 429.9 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.009338, allocations: 61.41 kB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.00954, allocations: 219.5 kB / 0.7077 GB, free: 15.69 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.009756, allocations: 127.6 kB / 0.7078 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.009797, allocations: 36 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.00983, allocations: 32 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.009878, allocations: 71.69 kB / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.00998, allocations: 119.8 kB / 0.7081 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.01028, allocations: 358.9 kB / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01028, allocations: 4 kB / 0.7084 GB, free: 14.95 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01029, allocations: 0 / 0.7084 GB, free: 14.95 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.01029, allocations: 0 / 0.7084 GB, free: 14.95 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007768/0.01107, allocations: 0.6037 MB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.01111, allocations: 12.03 kB / 0.709 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.01118, allocations: 36.7 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.01141, allocations: 228.6 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.01144, allocations: 16.88 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.01147, allocations: 28.33 kB / 0.7093 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.01183, allocations: 306.2 kB / 0.7096 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01185, allocations: 3.938 kB / 0.7096 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.01187, allocations: 16 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.01187, allocations: 4 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.01218, allocations: 244.2 kB / 0.7099 GB, free: 13.36 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.01294, allocations: 0.6504 MB / 0.7105 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.0134, allocations: 285.4 kB / 0.7108 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.01357, allocations: 156.5 kB / 0.7109 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01359, allocations: 4 kB / 0.7109 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.01399, allocations: 375.4 kB / 0.7113 GB, free: 11.79 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/0.01399, allocations: 0 / 0.7113 GB, free: 11.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001408/0.0154, allocations: 1.131 MB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.01549, allocations: 217.6 kB / 0.7126 GB, free: 10.3 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.01567, allocations: 249.9 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01569, allocations: 37.7 kB / 0.7129 GB, free: 10.01 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.01577, allocations: 152.9 kB / 0.713 GB, free: 9.852 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.01583, allocations: 119 kB / 0.7132 GB, free: 9.734 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.0159, allocations: 78.12 kB / 0.7132 GB, free: 9.652 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.01613, allocations: 346.8 kB / 0.7136 GB, free: 9.305 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.01634, allocations: 227.8 kB / 0.7138 GB, free: 9.062 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.01656, allocations: 322.8 kB / 0.7141 GB, free: 8.68 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.01693, allocations: 454.2 kB / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01693, allocations: 4 kB / 0.7145 GB, free: 8.164 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005367/0.01747, allocations: 0.5769 MB / 0.7151 GB, free: 7.543 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.01752, allocations: 93.09 kB / 0.7152 GB, free: 7.434 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01753, allocations: 4 kB / 0.7152 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01755, allocations: 4 kB / 0.7152 GB, free: 7.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.01773, allocations: 83.83 kB / 0.7153 GB, free: 7.344 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.01774, allocations: 4 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01785, allocations: 24.22 kB / 0.7153 GB, free: 7.316 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.01787, allocations: 24 kB / 0.7153 GB, free: 7.293 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.000217/0.01809, allocations: 242.2 kB / 0.7155 GB, free: 7.039 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01812, allocations: 35.81 kB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.01817, allocations: 30.95 kB / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01817, allocations: 4 kB / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01818, allocations: 0 / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01818, allocations: 7.984 kB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.01895, allocations: 0.8173 MB / 0.7164 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01895, allocations: 0 / 0.7164 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.01911, allocations: 55.97 kB / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01912, allocations: 0 / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01914, allocations: 11.98 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01914, allocations: 4 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01914, allocations: 0 / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/0.02009, allocations: 0.7755 MB / 0.7172 GB, free: 5.188 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.02017, allocations: 51.78 kB / 0.7173 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.02021, allocations: 16 kB / 0.7173 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.02031, allocations: 15.98 kB / 0.7173 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.02039, allocations: 39.94 kB / 0.7174 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.02041, allocations: 15.94 kB / 0.7174 GB, free: 5.051 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001203/0.02053, allocations: 185.2 kB / 0.7175 GB, free: 4.871 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02053, allocations: 0 / 0.7175 GB, free: 4.871 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002307/0.02076, allocations: 92 kB / 0.7176 GB, free: 4.781 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001279/0.02089, allocations: 122.9 kB / 0.7178 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.02138, allocations: 0.5842 MB / 0.7183 GB, free: 4.004 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02138, allocations: 0.6875 kB / 0.7183 GB, free: 4.004 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.02161, allocations: 318.1 kB / 0.7186 GB, free: 3.656 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.02198, allocations: 90.38 kB / 0.7187 GB, free: 3.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.02305, allocations: 0.8907 MB / 0.7196 GB, free: 2.637 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.02316, allocations: 168.2 kB / 0.7197 GB, free: 2.449 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.02323, allocations: 32.5 kB / 0.7198 GB, free: 2.418 MB / 426.8 MB Notification: Performance of SimCode: time 6.81e-07/0.02323, allocations: 0 / 0.7198 GB, free: 2.418 MB / 426.8 MB Notification: Performance of Templates: time 0.2343/0.2576, allocations: 4.365 MB / 0.724 GB, free: 36.24 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.915444635786116]