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.001785/0.001785, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.001151/0.001151, allocations: 217.3 kB / 23 MB, free: 2.965 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.042/1.042, allocations: 230.7 MB / 256.8 MB, free: 9.598 MB / 202.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.7204/0.7204, allocations: 312.3 MB / 0.6108 GB, free: 96.89 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 72.52 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1302, allocations: 74 MB / 0.8422 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride): time 0.003301/0.1335, allocations: 3.014 MB / 0.8451 GB, free: 6.742 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005623/0.1391, allocations: 6.633 MB / 0.8516 GB, free: 112 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.1393, allocations: 4.594 kB / 0.8516 GB, free: 108 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1394, allocations: 36.27 kB / 0.8516 GB, free: 72 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1397, allocations: 132.2 kB / 0.8518 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1399, allocations: 84.34 kB / 0.8518 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.1403, allocations: 410.7 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1404, allocations: 62.25 kB / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1406, allocations: 151.4 kB / 0.8524 GB, free: 15.25 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1408, allocations: 151.8 kB / 0.8526 GB, free: 15.1 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1408, allocations: 28.62 kB / 0.8526 GB, free: 15.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.1409, allocations: 36 kB / 0.8526 GB, free: 15.04 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1409, allocations: 64.39 kB / 0.8527 GB, free: 14.97 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.141, allocations: 144 kB / 0.8528 GB, free: 14.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1413, allocations: 358.6 kB / 0.8532 GB, free: 14.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1413, allocations: 0.5 kB / 0.8532 GB, free: 14.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1413, allocations: 4.5 kB / 0.8532 GB, free: 14.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1413, allocations: 0 / 0.8532 GB, free: 14.48 MB / 490.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.0008233/0.1422, allocations: 0.6098 MB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1422, allocations: 12.03 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.1423, allocations: 37.33 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1425, allocations: 229 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1426, allocations: 17.41 kB / 0.8541 GB, free: 13.51 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.1426, allocations: 28.39 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1431, allocations: 309.6 kB / 0.8544 GB, free: 13.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1431, allocations: 0.6562 kB / 0.8544 GB, free: 13.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1431, allocations: 8 kB / 0.8544 GB, free: 13.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1431, allocations: 4.656 kB / 0.8544 GB, free: 13.14 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.1434, allocations: 249.5 kB / 0.8546 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1441, allocations: 0.6438 MB / 0.8553 GB, free: 12.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2695/0.4137, allocations: 268.7 kB / 0.8555 GB, free: 30.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4139, allocations: 156.7 kB / 0.8557 GB, free: 30.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4139, allocations: 6.094 kB / 0.8557 GB, free: 30.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.4142, allocations: 366.8 kB / 0.856 GB, free: 30.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.4142, allocations: 0 / 0.856 GB, free: 30.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001343/0.4155, allocations: 1.14 MB / 0.8571 GB, free: 29.69 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4156, allocations: 217.8 kB / 0.8574 GB, free: 29.44 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4158, allocations: 258 kB / 0.8576 GB, free: 29.33 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4158, allocations: 38.12 kB / 0.8576 GB, free: 29.3 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.4159, allocations: 151.1 kB / 0.8578 GB, free: 29.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.4159, allocations: 126.1 kB / 0.8579 GB, free: 29.15 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.416, allocations: 75.44 kB / 0.858 GB, free: 29.13 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.4161, allocations: 346.3 kB / 0.8583 GB, free: 28.82 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.4162, allocations: 224.7 kB / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.4164, allocations: 321.4 kB / 0.8588 GB, free: 28.48 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.4168, allocations: 459.4 kB / 0.8593 GB, free: 28.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4168, allocations: 0 / 0.8593 GB, free: 28.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004495/0.4172, allocations: 0.5735 MB / 0.8598 GB, free: 27.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4172, allocations: 90.16 kB / 0.8599 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4173, allocations: 3.875 kB / 0.8599 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4173, allocations: 3.875 kB / 0.8599 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.4174, allocations: 80.27 kB / 0.86 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4175, allocations: 13.62 kB / 0.86 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.4176, allocations: 24.64 kB / 0.86 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.4176, allocations: 18.28 kB / 0.86 GB, free: 27.88 MB / 490.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.0001834/0.4178, allocations: 225.6 kB / 0.8603 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4178, allocations: 36.09 kB / 0.8603 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.4178, allocations: 33.48 kB / 0.8603 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4179, allocations: 3.562 kB / 0.8603 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4179, allocations: 3.938 kB / 0.8603 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4179, allocations: 4.141 kB / 0.8603 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.4185, allocations: 0.817 MB / 0.8611 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4185, allocations: 0.6875 kB / 0.8611 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.4187, allocations: 61.42 kB / 0.8612 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4187, allocations: 1.062 kB / 0.8612 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4187, allocations: 17.44 kB / 0.8612 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4187, allocations: 0.5312 kB / 0.8612 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4187, allocations: 2.797 kB / 0.8612 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.4193, allocations: 0.7607 MB / 0.862 GB, free: 26.95 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.4194, allocations: 51.41 kB / 0.862 GB, free: 26.94 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4195, allocations: 19.44 kB / 0.862 GB, free: 26.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4196, allocations: 19.88 kB / 0.862 GB, free: 26.93 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.4197, allocations: 34.88 kB / 0.8621 GB, free: 26.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.4197, allocations: 10.97 kB / 0.8621 GB, free: 26.93 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4198, allocations: 182.5 kB / 0.8623 GB, free: 26.85 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4198, allocations: 0.5625 kB / 0.8623 GB, free: 26.85 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002162/0.42, allocations: 89.44 kB / 0.8623 GB, free: 26.85 MB / 490.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.0001006/0.4201, allocations: 125.7 kB / 0.8625 GB, free: 26.76 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000466/0.4206, allocations: 0.5918 MB / 0.863 GB, free: 26.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4206, allocations: 0 / 0.863 GB, free: 26.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4208, allocations: 320.6 kB / 0.8634 GB, free: 26.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4211, allocations: 96.94 kB / 0.8634 GB, free: 26.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4223, allocations: 1.069 MB / 0.8645 GB, free: 25.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4225, allocations: 163.3 kB / 0.8646 GB, free: 25.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.4225, allocations: 31.5 kB / 0.8647 GB, free: 25.59 MB / 490.8 MB Notification: Performance of SimCode: time 6.82e-07/0.4225, allocations: 1.156 kB / 0.8647 GB, free: 25.59 MB / 490.8 MB Notification: Performance of Templates: time 0.005872/0.4284, allocations: 4.345 MB / 0.8689 GB, free: 25.19 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.16169504262507]