Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.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.0007533/0.0007533, allocations: 80.16 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001761, allocations: 443.9 kB / 10.36 MB, free: 328 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.0007763/0.0007763, allocations: 153.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000969/0.001745, allocations: 475.7 kB / 11.72 MB, free: 2.449 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.067/1.067, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.167, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7996/0.7996, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04168/0.8413, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.921e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride): time 0.004129/0.004159, allocations: 3.32 MB / 0.5478 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.01032, allocations: 6.801 MB / 0.5545 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.01051, allocations: 3.938 kB / 0.5545 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.01063, allocations: 35.64 kB / 0.5545 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.0109, allocations: 134.9 kB / 0.5547 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.01113, allocations: 83.84 kB / 0.5547 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.01147, allocations: 441.8 kB / 0.5552 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.01164, allocations: 71.36 kB / 0.5552 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.01193, allocations: 262.6 kB / 0.5555 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.01217, allocations: 127.6 kB / 0.5556 GB, free: 18.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.01221, allocations: 36 kB / 0.5556 GB, free: 18.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.01226, allocations: 32 kB / 0.5557 GB, free: 18.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.01231, allocations: 47.81 kB / 0.5557 GB, free: 18.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.01242, allocations: 103.8 kB / 0.5558 GB, free: 18.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.01271, allocations: 231.2 kB / 0.556 GB, free: 18.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.01272, allocations: 0 / 0.556 GB, free: 18.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01272, allocations: 0 / 0.556 GB, free: 18.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.01274, allocations: 0 / 0.556 GB, free: 18.34 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.0009139/0.01365, allocations: 0.6473 MB / 0.5567 GB, free: 17.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.0137, allocations: 8.031 kB / 0.5567 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.01377, allocations: 36.91 kB / 0.5567 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.01402, allocations: 193.5 kB / 0.5569 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01405, allocations: 20.86 kB / 0.5569 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.01409, allocations: 24.33 kB / 0.5569 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.01438, allocations: 250.1 kB / 0.5572 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.0144, allocations: 4 kB / 0.5572 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.01442, allocations: 4 kB / 0.5572 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01443, allocations: 12 kB / 0.5572 GB, free: 17.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.0146, allocations: 138.5 kB / 0.5573 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.01528, allocations: 469.9 kB / 0.5578 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.01556, allocations: 180 kB / 0.5579 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.01564, allocations: 103.1 kB / 0.558 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.01565, allocations: 11.88 kB / 0.558 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.0159, allocations: 331.4 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.0159, allocations: 0 / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.00101/0.01691, allocations: 0.8307 MB / 0.5592 GB, free: 14.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3205/0.3374, allocations: 275.3 kB / 0.5594 GB, free: 78.54 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3377, allocations: 230.5 kB / 0.5597 GB, free: 78.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.3378, allocations: 39.8 kB / 0.5597 GB, free: 78.4 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3378, allocations: 137.5 kB / 0.5598 GB, free: 78.32 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.3379, allocations: 122.6 kB / 0.5599 GB, free: 78.28 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.338, allocations: 74.52 kB / 0.56 GB, free: 78.27 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.3381, allocations: 347.1 kB / 0.5603 GB, free: 77.95 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3382, allocations: 147.1 kB / 0.5605 GB, free: 77.85 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.3384, allocations: 244.8 kB / 0.5607 GB, free: 77.62 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3386, allocations: 344.1 kB / 0.561 GB, free: 77.37 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3386, allocations: 1.156 kB / 0.561 GB, free: 77.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000368/0.339, allocations: 387.6 kB / 0.5614 GB, free: 77.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.3391, allocations: 91.83 kB / 0.5615 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3391, allocations: 2.656 kB / 0.5615 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.3391, allocations: 6.906 kB / 0.5615 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.3395, allocations: 113.4 kB / 0.5616 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3395, allocations: 5.062 kB / 0.5616 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3397, allocations: 22.72 kB / 0.5616 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3397, allocations: 12.05 kB / 0.5617 GB, free: 77.05 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.0001951/0.3399, allocations: 215.7 kB / 0.5619 GB, free: 76.88 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3399, allocations: 39.78 kB / 0.5619 GB, free: 76.88 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.34, allocations: 33.64 kB / 0.5619 GB, free: 76.87 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.34, allocations: 2.594 kB / 0.5619 GB, free: 76.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.34, allocations: 0 / 0.5619 GB, free: 76.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.3401, allocations: 34.58 kB / 0.562 GB, free: 76.86 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3401, allocations: 13.14 kB / 0.562 GB, free: 76.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.3401, allocations: 15.73 kB / 0.562 GB, free: 76.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3402, allocations: 14.09 kB / 0.562 GB, free: 76.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3403, allocations: 27.66 kB / 0.562 GB, free: 76.86 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004547/0.3408, allocations: 402.2 kB / 0.5624 GB, free: 76.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005315/0.3413, allocations: 0.5977 MB / 0.563 GB, free: 76.22 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001599/0.3415, allocations: 153.7 kB / 0.5632 GB, free: 76.15 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000106/0.3416, allocations: 89.34 kB / 0.5632 GB, free: 76.14 MB / 410.8 MB Notification: Performance of Backend: time 6.32e-07/0.3416, allocations: 0 / 0.5632 GB, free: 76.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.3421, allocations: 481.1 kB / 0.5637 GB, free: 75.8 MB / 410.8 MB Notification: Performance of SimCode: time 0.008218/0.3503, allocations: 1.36 MB / 0.565 GB, free: 74.84 MB / 410.8 MB Notification: Performance of Templates: time 0.007824/0.3581, allocations: 5.549 MB / 0.5704 GB, free: 73.68 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6959118470549583]