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.001072/0.001072, allocations: 108.3 kB / 19.71 MB, free: 432 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.001258/0.001258, allocations: 217.3 kB / 23 MB, free: 2.969 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.043/1.043, allocations: 230.6 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.768/0.768, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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: 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.001514/0.001514, allocations: 74.3 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 73.99 MB / 0.8422 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride): time 0.003171/0.1256, allocations: 3.026 MB / 0.8451 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.1308, allocations: 6.633 MB / 0.8516 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.131, allocations: 4.531 kB / 0.8516 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1311, allocations: 44.12 kB / 0.8517 GB, free: 0.625 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1314, allocations: 124.1 kB / 0.8518 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1316, allocations: 77.02 kB / 0.8518 GB, free: 440 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1319, allocations: 426 kB / 0.8523 GB, free: 12 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1321, allocations: 58.23 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1322, allocations: 156 kB / 0.8525 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1324, allocations: 143.9 kB / 0.8526 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1324, allocations: 32 kB / 0.8526 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.783e-05/0.1325, allocations: 32.62 kB / 0.8527 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1325, allocations: 59.78 kB / 0.8527 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1326, allocations: 148.2 kB / 0.8529 GB, free: 15.39 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1329, allocations: 362.6 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1329, allocations: 4.438 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1329, allocations: 0.625 kB / 0.8532 GB, free: 15.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1329, allocations: 0 / 0.8532 GB, free: 15.04 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.0008681/0.1338, allocations: 0.6056 MB / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1338, allocations: 16.52 kB / 0.8538 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.1339, allocations: 36.7 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1341, allocations: 229.6 kB / 0.8541 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1341, allocations: 17.44 kB / 0.8541 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1342, allocations: 31.89 kB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1345, allocations: 297.7 kB / 0.8544 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1346, allocations: 0.625 kB / 0.8544 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1346, allocations: 8 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1346, allocations: 4.594 kB / 0.8544 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1349, allocations: 249.6 kB / 0.8546 GB, free: 13.45 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.1356, allocations: 0.6437 MB / 0.8553 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.136, allocations: 276.2 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1362, allocations: 157 kB / 0.8557 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1362, allocations: 8.594 kB / 0.8557 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2824/0.4186, allocations: 376.7 kB / 0.8561 GB, free: 21.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.497e-06/0.4186, allocations: 2.031 kB / 0.8561 GB, free: 21.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001492/0.4201, allocations: 1.121 MB / 0.8572 GB, free: 20.73 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.4201, allocations: 217.2 kB / 0.8574 GB, free: 20.48 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.4204, allocations: 255.6 kB / 0.8576 GB, free: 20.38 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4204, allocations: 38.89 kB / 0.8576 GB, free: 20.35 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.4205, allocations: 152.5 kB / 0.8578 GB, free: 20.25 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4205, allocations: 117.8 kB / 0.8579 GB, free: 20.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.4206, allocations: 70.66 kB / 0.858 GB, free: 20.18 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.4207, allocations: 347.8 kB / 0.8583 GB, free: 19.87 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.4209, allocations: 236.2 kB / 0.8585 GB, free: 19.76 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.4211, allocations: 320.4 kB / 0.8588 GB, free: 19.52 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.4215, allocations: 454.8 kB / 0.8593 GB, free: 19.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4215, allocations: 0 / 0.8593 GB, free: 19.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005571/0.4221, allocations: 0.578 MB / 0.8598 GB, free: 19.02 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.4221, allocations: 86.62 kB / 0.8599 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4221, allocations: 6.969 kB / 0.8599 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.4221, allocations: 6.219 kB / 0.8599 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.4223, allocations: 82.16 kB / 0.86 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4224, allocations: 5.438 kB / 0.86 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.4225, allocations: 24.12 kB / 0.86 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.4225, allocations: 16.08 kB / 0.86 GB, free: 18.93 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.0002319/0.4228, allocations: 237.5 kB / 0.8603 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.4228, allocations: 31.53 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.4228, allocations: 35.05 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4228, allocations: 3.969 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4229, allocations: 2.906 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4229, allocations: 1.922 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.4237, allocations: 0.8194 MB / 0.8611 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4237, allocations: 5.125 kB / 0.8611 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4239, allocations: 58.86 kB / 0.8612 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4239, allocations: 4.375 kB / 0.8612 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.4239, allocations: 9.688 kB / 0.8612 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.4239, allocations: 0.9688 kB / 0.8612 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4239, allocations: 3.938 kB / 0.8612 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.4246, allocations: 0.7655 MB / 0.862 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4247, allocations: 55.98 kB / 0.862 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.4248, allocations: 13.47 kB / 0.862 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4249, allocations: 15.59 kB / 0.862 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.425, allocations: 38.23 kB / 0.8621 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.425, allocations: 11.25 kB / 0.8621 GB, free: 18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000137/0.4251, allocations: 186 kB / 0.8623 GB, free: 17.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4251, allocations: 0.625 kB / 0.8623 GB, free: 17.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002748/0.4254, allocations: 88.19 kB / 0.8624 GB, free: 17.91 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.000126/0.4255, allocations: 124.2 kB / 0.8625 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.4261, allocations: 0.5915 MB / 0.8631 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4261, allocations: 0.625 kB / 0.8631 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4263, allocations: 314 kB / 0.8634 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4267, allocations: 90.69 kB / 0.8634 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4281, allocations: 1.07 MB / 0.8645 GB, free: 16.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4283, allocations: 163.4 kB / 0.8646 GB, free: 16.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.4283, allocations: 32.62 kB / 0.8647 GB, free: 16.67 MB / 490.8 MB Notification: Performance of SimCode: time 1.102e-06/0.4284, allocations: 0 / 0.8647 GB, free: 16.67 MB / 490.8 MB Notification: Performance of Templates: time 0.007951/0.4363, allocations: 4.354 MB / 0.8689 GB, free: 16.28 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.17302758526057]