Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.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.0006481/0.0006481, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007908/0.001439, allocations: 443.9 kB / 10.36 MB, free: 332 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.0006771/0.0006771, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008068/0.001484, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9938/0.9938, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08692/1.081, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.8377/0.8377, allocations: 291.2 MB / 0.5227 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03386/0.8715, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.5e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine): time 0.003742/0.003767, allocations: 3.315 MB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006581/0.01035, allocations: 6.801 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.01064, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.01079, allocations: 43.56 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.0111, allocations: 134.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.01137, allocations: 83.83 kB / 0.5547 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.01176, allocations: 437.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.01194, allocations: 71.36 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.01228, allocations: 270.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.01253, allocations: 123.6 kB / 0.5556 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.01259, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.01263, allocations: 36 kB / 0.5557 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.01268, allocations: 51.8 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.01281, allocations: 103.8 kB / 0.5558 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.01311, allocations: 223.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.01312, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01312, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.01314, allocations: 0 / 0.556 GB, free: 18.81 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009127/0.01405, allocations: 0.6473 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.01409, allocations: 11.89 kB / 0.5567 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.01418, allocations: 40.89 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.01438, allocations: 197.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.01441, allocations: 12.88 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.01444, allocations: 28.33 kB / 0.5569 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.01466, allocations: 246.1 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01467, allocations: 4 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.01469, allocations: 7.984 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.0147, allocations: 8 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.01481, allocations: 138.6 kB / 0.5573 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.01532, allocations: 473.9 kB / 0.5578 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.01553, allocations: 172.1 kB / 0.5579 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.01559, allocations: 115 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.0156, allocations: 7.938 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.0158, allocations: 331.4 kB / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.0158, allocations: 0 / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007576/0.01656, allocations: 0.8307 MB / 0.5592 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.01662, allocations: 277 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.31/0.3266, allocations: 225.2 kB / 0.5597 GB, free: 79.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.3266, allocations: 38.02 kB / 0.5597 GB, free: 79.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3267, allocations: 142.4 kB / 0.5598 GB, free: 79.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.3268, allocations: 122.5 kB / 0.5599 GB, free: 79.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.3269, allocations: 76.48 kB / 0.56 GB, free: 79.74 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.3269, allocations: 344.4 kB / 0.5603 GB, free: 79.43 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.327, allocations: 143.6 kB / 0.5605 GB, free: 79.33 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3272, allocations: 249.4 kB / 0.5607 GB, free: 79.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3274, allocations: 338.8 kB / 0.561 GB, free: 78.85 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3274, allocations: 2.5 kB / 0.561 GB, free: 78.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003401/0.3278, allocations: 388.6 kB / 0.5614 GB, free: 78.62 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.3278, allocations: 92.5 kB / 0.5615 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3278, allocations: 3.75 kB / 0.5615 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3278, allocations: 6.188 kB / 0.5615 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.3282, allocations: 111.5 kB / 0.5616 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3282, allocations: 9.875 kB / 0.5616 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3283, allocations: 23.92 kB / 0.5616 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3283, allocations: 11.52 kB / 0.5617 GB, free: 78.53 MB / 410.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.0002072/0.3285, allocations: 214.3 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.3286, allocations: 38.56 kB / 0.5619 GB, free: 78.35 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3286, allocations: 36.33 kB / 0.5619 GB, free: 78.35 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3286, allocations: 1.828 kB / 0.5619 GB, free: 78.35 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3286, allocations: 0 / 0.5619 GB, free: 78.35 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.3287, allocations: 37.06 kB / 0.562 GB, free: 78.33 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3288, allocations: 11.2 kB / 0.562 GB, free: 78.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3288, allocations: 17.5 kB / 0.562 GB, free: 78.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.3289, allocations: 16.61 kB / 0.562 GB, free: 78.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.329, allocations: 25.12 kB / 0.562 GB, free: 78.33 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004047/0.3294, allocations: 398.6 kB / 0.5624 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004397/0.3298, allocations: 0.6034 MB / 0.563 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001282/0.3299, allocations: 147.5 kB / 0.5631 GB, free: 77.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.33, allocations: 81.66 kB / 0.5632 GB, free: 77.61 MB / 410.8 MB Notification: Performance of Backend: time 3.91e-07/0.33, allocations: 0 / 0.5632 GB, free: 77.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.3305, allocations: 483.7 kB / 0.5637 GB, free: 77.27 MB / 410.8 MB Notification: Performance of SimCode: time 0.01038/0.3409, allocations: 1.363 MB / 0.565 GB, free: 76.32 MB / 410.8 MB Notification: Performance of Templates: time 0.01306/0.354, allocations: 5.546 MB / 0.5704 GB, free: 75.13 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.167357994243503]