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.002634/0.002634, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.002669/0.002669, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.806/1.806, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 178] 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 1.567/1.567, allocations: 316.8 MB / 0.6144 GB, free: 93.5 MB / 410.7 MB " [Timeout remaining time 178] 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.003879/0.003879, allocations: 81.78 kB / 0.775 GB, free: 14.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1924, allocations: 73.98 MB / 0.8473 GB, free: 5.07 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride): time 0.006379/0.1988, allocations: 3.025 MB / 0.8502 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3792/0.578, allocations: 6.643 MB / 0.8567 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.5783, allocations: 2.969 kB / 0.8567 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.5785, allocations: 38.92 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.5788, allocations: 125 kB / 0.8569 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.5791, allocations: 90.16 kB / 0.857 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.5795, allocations: 407.1 kB / 0.8574 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.5796, allocations: 62.83 kB / 0.8574 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.5798, allocations: 153.8 kB / 0.8576 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.5801, allocations: 146 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.5801, allocations: 32.88 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.5802, allocations: 34.66 kB / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.5803, allocations: 60.83 kB / 0.8578 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.5804, allocations: 150.8 kB / 0.858 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.5808, allocations: 360.2 kB / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5808, allocations: 0 / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5808, allocations: 0 / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.5808, allocations: 0.9688 kB / 0.8583 GB, free: 21.61 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.0009591/0.5817, allocations: 0.6066 MB / 0.8589 GB, free: 21.14 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5818, allocations: 10 kB / 0.8589 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.5819, allocations: 38.58 kB / 0.859 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.5821, allocations: 226.8 kB / 0.8592 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5822, allocations: 17.25 kB / 0.8592 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.5822, allocations: 30.02 kB / 0.8592 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.5829, allocations: 304.1 kB / 0.8595 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.583, allocations: 4.203 kB / 0.8595 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.583, allocations: 9.75 kB / 0.8595 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.583, allocations: 3.938 kB / 0.8595 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.5835, allocations: 246.1 kB / 0.8598 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.5844, allocations: 0.6534 MB / 0.8604 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.585, allocations: 269.2 kB / 0.8607 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.5853, allocations: 160.7 kB / 0.8608 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5853, allocations: 4.094 kB / 0.8608 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.5858, allocations: 377.1 kB / 0.8612 GB, free: 20.05 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.5858, allocations: 0.625 kB / 0.8612 GB, free: 20.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.002055/0.5878, allocations: 1.129 MB / 0.8623 GB, free: 19.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.5879, allocations: 220.6 kB / 0.8625 GB, free: 19.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.5882, allocations: 249 kB / 0.8627 GB, free: 19.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5882, allocations: 37.97 kB / 0.8628 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.5884, allocations: 156.9 kB / 0.8629 GB, free: 19.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.5885, allocations: 122.2 kB / 0.863 GB, free: 18.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5886, allocations: 69.31 kB / 0.8631 GB, free: 18.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5887, allocations: 352.1 kB / 0.8634 GB, free: 18.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.589, allocations: 224.5 kB / 0.8636 GB, free: 18.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.5894, allocations: 322.5 kB / 0.864 GB, free: 18.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.5901, allocations: 459.3 kB / 0.8644 GB, free: 18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5901, allocations: 1.656 kB / 0.8644 GB, free: 18 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009767/0.591, allocations: 0.5768 MB / 0.865 GB, free: 17.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.5911, allocations: 93.03 kB / 0.865 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5911, allocations: 2.344 kB / 0.865 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.5911, allocations: 4.938 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.5915, allocations: 79.12 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.5915, allocations: 6.797 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5917, allocations: 22.27 kB / 0.8652 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.5917, allocations: 21.56 kB / 0.8652 GB, free: 17.64 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.0002729/0.592, allocations: 236 kB / 0.8654 GB, free: 17.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.5921, allocations: 36.16 kB / 0.8654 GB, free: 17.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.5922, allocations: 31.33 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5922, allocations: 3.688 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5922, allocations: 0.625 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5922, allocations: 4.078 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5936, allocations: 0.8116 MB / 0.8663 GB, free: 17.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5936, allocations: 0.5625 kB / 0.8663 GB, free: 17.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5939, allocations: 60.88 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5939, allocations: 2.75 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5939, allocations: 11.73 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5939, allocations: 5.625 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5939, allocations: 3.031 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.595, allocations: 0.7733 MB / 0.8671 GB, free: 16.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5951, allocations: 54.98 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.5952, allocations: 11 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5954, allocations: 22.94 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.5955, allocations: 31.06 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5955, allocations: 17.55 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001901/0.5957, allocations: 190.6 kB / 0.8674 GB, free: 16.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5957, allocations: 0 / 0.8674 GB, free: 16.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003975/0.5961, allocations: 85.44 kB / 0.8675 GB, free: 16.59 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.0001412/0.5963, allocations: 128.5 kB / 0.8676 GB, free: 16.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.597, allocations: 0.5948 MB / 0.8682 GB, free: 16.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.597, allocations: 0 / 0.8682 GB, free: 16.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.5974, allocations: 312 kB / 0.8685 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.5979, allocations: 87.41 kB / 0.8686 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.5997, allocations: 1.043 MB / 0.8696 GB, free: 15.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.5999, allocations: 163.1 kB / 0.8698 GB, free: 15.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.6001, allocations: 36.36 kB / 0.8698 GB, free: 15.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.6002, allocations: 30.64 kB / 0.8698 GB, free: 15.29 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/0.6002, allocations: 0 / 0.8698 GB, free: 15.29 MB / 490.8 MB Notification: Performance of Templates: time 0.01143/0.6116, allocations: 5.286 MB / 0.875 GB, free: 14.78 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.092139791930094]