Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.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.00101/0.00101, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002319, 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.001036/0.001036, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002305, 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 1.054/1.054, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.162, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.8564/0.8564, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0488/0.9052, allocations: 21.04 MB / 0.5431 GB, free: 31.79 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.N05AL05_Amisulpride.Amisulpride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.132e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride): time 0.002993/0.003024, allocations: 3.323 MB / 0.5478 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005999/0.009024, allocations: 6.797 MB / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.009411, allocations: 7.938 kB / 0.5544 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.009557, allocations: 31.64 kB / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.00986, allocations: 130.9 kB / 0.5546 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.01009, allocations: 83.84 kB / 0.5547 GB, free: 19.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.01049, allocations: 433.8 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.01066, allocations: 75.36 kB / 0.5551 GB, free: 19.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.01099, allocations: 270.5 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.01125, allocations: 131.6 kB / 0.5555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.0113, allocations: 32 kB / 0.5556 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.01134, allocations: 32 kB / 0.5556 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.01138, allocations: 43.81 kB / 0.5556 GB, free: 18.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.01147, allocations: 103.8 kB / 0.5557 GB, free: 18.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.01173, allocations: 231.2 kB / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.01175, allocations: 0 / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01175, allocations: 0 / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.01176, allocations: 4 kB / 0.556 GB, free: 18.64 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.0007211/0.01248, allocations: 0.6434 MB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.01253, allocations: 11.89 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.01259, allocations: 36.91 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.01282, allocations: 193.5 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.01284, allocations: 16.88 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.01287, allocations: 28.33 kB / 0.5569 GB, free: 17.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.01317, allocations: 254.1 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01319, allocations: 3.984 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.0132, allocations: 8 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.01321, allocations: 4 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.01334, allocations: 142.6 kB / 0.5573 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.01398, allocations: 473.9 kB / 0.5577 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.01425, allocations: 191.3 kB / 0.5579 GB, free: 16.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.01431, allocations: 99.22 kB / 0.558 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.01432, allocations: 7.938 kB / 0.558 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.01455, allocations: 327.4 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.075e-06/0.01455, allocations: 0 / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009896/0.01554, allocations: 0.8346 MB / 0.5591 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2972/0.3127, allocations: 276.9 kB / 0.5594 GB, free: 79.72 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.313, allocations: 233.1 kB / 0.5596 GB, free: 79.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.313, allocations: 35.45 kB / 0.5596 GB, free: 79.58 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3131, allocations: 137.7 kB / 0.5598 GB, free: 79.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.3132, allocations: 122.6 kB / 0.5599 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.3133, allocations: 74.03 kB / 0.56 GB, free: 79.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.3133, allocations: 350.8 kB / 0.5603 GB, free: 79.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.3134, allocations: 142.1 kB / 0.5604 GB, free: 79.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3135, allocations: 257.2 kB / 0.5607 GB, free: 78.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3137, allocations: 335.8 kB / 0.561 GB, free: 78.55 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3137, allocations: 0.9688 kB / 0.561 GB, free: 78.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003089/0.314, allocations: 387.4 kB / 0.5614 GB, free: 78.33 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.3141, allocations: 92.58 kB / 0.5615 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3141, allocations: 3.312 kB / 0.5615 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3141, allocations: 5.688 kB / 0.5615 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.3144, allocations: 112.5 kB / 0.5616 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3144, allocations: 6.234 kB / 0.5616 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3145, allocations: 20.81 kB / 0.5616 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3145, allocations: 17.45 kB / 0.5616 GB, free: 78.23 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.0001442/0.3147, allocations: 214.2 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.3147, allocations: 34.42 kB / 0.5618 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3148, allocations: 37.88 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3148, allocations: 1.5 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3148, allocations: 1.781 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.3148, allocations: 33.05 kB / 0.5619 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3149, allocations: 10.11 kB / 0.5619 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.3149, allocations: 15.59 kB / 0.5619 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.315, allocations: 16.61 kB / 0.562 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.3151, allocations: 27.3 kB / 0.562 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/0.3154, allocations: 400 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003568/0.3158, allocations: 0.6047 MB / 0.563 GB, free: 77.4 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001089/0.3159, allocations: 146.5 kB / 0.5631 GB, free: 77.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.3159, allocations: 83.38 kB / 0.5632 GB, free: 77.32 MB / 410.8 MB Notification: Performance of Backend: time 3.21e-07/0.3159, allocations: 0 / 0.5632 GB, free: 77.32 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3163, allocations: 485.7 kB / 0.5636 GB, free: 76.98 MB / 410.8 MB Notification: Performance of SimCode: time 0.007934/0.3243, allocations: 1.361 MB / 0.565 GB, free: 76.02 MB / 410.8 MB Notification: Performance of Templates: time 0.008233/0.3325, allocations: 5.541 MB / 0.5704 GB, free: 74.81 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9556759325787425]