Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.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.0006911/0.0006911, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000858/0.001549, 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.0006858/0.0006858, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008488/0.001535, 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.9607/0.9607, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09008/1.051, allocations: 53.67 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.7896/0.7896, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05045/0.84, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.722e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine): time 0.002391/0.002408, allocations: 3.319 MB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.006801, allocations: 6.797 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.007007, allocations: 11.94 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.007102, allocations: 35.64 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.007292, allocations: 126.9 kB / 0.5546 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.007448, allocations: 87.83 kB / 0.5547 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.007698, allocations: 437.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.007816, allocations: 67.36 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.008096, allocations: 270.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.008265, allocations: 131.6 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.008296, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.008326, allocations: 32 kB / 0.5557 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.008355, allocations: 47.81 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.008428, allocations: 99.81 kB / 0.5558 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.008617, allocations: 227.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.008629, allocations: 3.984 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00863, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.008644, 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.000581/0.009225, allocations: 0.6473 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.009254, allocations: 8.031 kB / 0.5567 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.009304, allocations: 36.91 kB / 0.5567 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.009464, allocations: 197.5 kB / 0.5569 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.009485, allocations: 12.88 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.00952, allocations: 32.31 kB / 0.5569 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.009737, allocations: 250.1 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.009751, allocations: 4 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.009765, allocations: 8 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.009771, allocations: 4 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.009892, allocations: 138.6 kB / 0.5573 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.01042, allocations: 473.9 kB / 0.5578 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.01062, allocations: 184 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.01067, allocations: 107.2 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.01068, allocations: 7.938 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.01086, allocations: 327.4 kB / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.01086, allocations: 0 / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006847/0.01155, allocations: 0.8307 MB / 0.5592 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.01159, allocations: 281 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.312/0.3236, allocations: 230.7 kB / 0.5597 GB, free: 79.92 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.3237, allocations: 36.52 kB / 0.5597 GB, free: 79.89 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.3237, allocations: 137.2 kB / 0.5598 GB, free: 79.81 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007111/0.3308, allocations: 120.5 kB / 0.5599 GB, free: 79.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3309, allocations: 73.61 kB / 0.56 GB, free: 79.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.331, allocations: 347.6 kB / 0.5603 GB, free: 79.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3311, allocations: 146.8 kB / 0.5605 GB, free: 79.34 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3312, allocations: 249.9 kB / 0.5607 GB, free: 79.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3315, allocations: 337.4 kB / 0.561 GB, free: 78.86 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3315, allocations: 2.75 kB / 0.561 GB, free: 78.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000368/0.3318, allocations: 389.1 kB / 0.5614 GB, free: 78.64 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.3319, allocations: 93.11 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3319, allocations: 5.125 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3319, allocations: 5.25 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.3323, allocations: 111.6 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3323, allocations: 6.406 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3324, allocations: 25.11 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3325, allocations: 15.11 kB / 0.5617 GB, free: 78.54 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.000187/0.3327, allocations: 210.4 kB / 0.5619 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3327, allocations: 43.27 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.3328, allocations: 34.66 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3328, allocations: 2.641 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3328, allocations: 0 / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.3329, allocations: 36.36 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3329, allocations: 10.5 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3329, allocations: 15.38 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.333, allocations: 19.17 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.3331, allocations: 22.19 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004352/0.3336, allocations: 398.8 kB / 0.5624 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006449/0.34, allocations: 0.6057 MB / 0.563 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001283/0.3401, allocations: 152 kB / 0.5632 GB, free: 77.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.3402, allocations: 81.14 kB / 0.5632 GB, free: 77.62 MB / 410.8 MB Notification: Performance of Backend: time 6.91e-07/0.3402, allocations: 0 / 0.5632 GB, free: 77.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005099/0.3407, allocations: 483.5 kB / 0.5637 GB, free: 77.29 MB / 410.8 MB Notification: Performance of SimCode: time 0.01364/0.3544, allocations: 1.358 MB / 0.565 GB, free: 76.33 MB / 410.8 MB Notification: Performance of Templates: time 0.007916/0.3623, allocations: 5.548 MB / 0.5704 GB, free: 75.14 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8292794125154614]