Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.002607/0.002607, allocations: 105.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.003173/0.003173, allocations: 215.6 kB / 22.25 MB, free: 3.566 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.723/1.723, allocations: 230.6 MB / 256 MB, free: 9.566 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.407/1.407, allocations: 316.7 MB / 0.6144 GB, free: 93.32 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.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [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.003733/0.003733, allocations: 83.67 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.167, allocations: 73.99 MB / 0.8472 GB, free: 4.969 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.004271/0.1713, allocations: 2.303 MB / 0.8495 GB, free: 2.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1726, allocations: 0.5912 MB / 0.8501 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.1727, allocations: 0.625 kB / 0.8501 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1728, allocations: 27.72 kB / 0.8501 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.173, allocations: 80.5 kB / 0.8502 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1733, allocations: 44.98 kB / 0.8502 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.1736, allocations: 266.7 kB / 0.8505 GB, free: 1.672 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1738, allocations: 29.11 kB / 0.8505 GB, free: 1.645 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.1741, allocations: 100.1 kB / 0.8506 GB, free: 1.547 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1744, allocations: 96.11 kB / 0.8507 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.1744, allocations: 16 kB / 0.8507 GB, free: 1.438 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.1745, allocations: 16.5 kB / 0.8507 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.1745, allocations: 44.42 kB / 0.8507 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1747, allocations: 91.55 kB / 0.8508 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.175, allocations: 195.8 kB / 0.851 GB, free: 1.098 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.175, allocations: 0 / 0.851 GB, free: 1.098 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.175, allocations: 0.5938 kB / 0.851 GB, free: 1.098 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.175, allocations: 0.625 kB / 0.851 GB, free: 1.098 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001039/0.176, allocations: 0.4907 MB / 0.8515 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1761, allocations: 8.031 kB / 0.8515 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1761, allocations: 25.36 kB / 0.8515 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1764, allocations: 183.7 kB / 0.8517 GB, free: 332 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1764, allocations: 16.55 kB / 0.8517 GB, free: 316 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1765, allocations: 20.42 kB / 0.8517 GB, free: 296 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1769, allocations: 194.5 kB / 0.8519 GB, free: 88 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1769, allocations: 8.562 kB / 0.8519 GB, free: 80 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1769, allocations: 4 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1769, allocations: 4.625 kB / 0.8519 GB, free: 72 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1773, allocations: 146.9 kB / 0.8521 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.1782, allocations: 487.2 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1788, allocations: 172.9 kB / 0.8527 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.179, allocations: 99.2 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.179, allocations: 0.6562 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.1794, allocations: 229.1 kB / 0.853 GB, free: 14.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1794, allocations: 0.5938 kB / 0.853 GB, free: 14.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001667/0.1811, allocations: 0.6968 MB / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1812, allocations: 141.1 kB / 0.8538 GB, free: 13.95 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1815, allocations: 215.5 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1815, allocations: 33.7 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1816, allocations: 129 kB / 0.8542 GB, free: 13.56 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.1817, allocations: 72.05 kB / 0.8543 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.1818, allocations: 57.66 kB / 0.8543 GB, free: 13.43 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.182, allocations: 339.4 kB / 0.8546 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.1822, allocations: 141.7 kB / 0.8548 GB, free: 12.93 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.1826, allocations: 225.9 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.1831, allocations: 281.7 kB / 0.8553 GB, free: 12.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1831, allocations: 3.938 kB / 0.8553 GB, free: 12.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3534/0.5365, allocations: 387.5 kB / 0.8556 GB, free: 28.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.5366, allocations: 67.27 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5366, allocations: 1.719 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.5366, allocations: 3.094 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.5368, allocations: 51.25 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5368, allocations: 3.75 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.5371, allocations: 20.94 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.5371, allocations: 11.91 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002068/0.5373, allocations: 173.4 kB / 0.856 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.5373, allocations: 25.72 kB / 0.856 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.5374, allocations: 23.97 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5374, allocations: 5.438 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5374, allocations: 0 / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5374, allocations: 0 / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.5381, allocations: 0.5399 MB / 0.8565 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5381, allocations: 1 kB / 0.8565 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.5383, allocations: 35.02 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5383, allocations: 6.719 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5383, allocations: 6.969 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5383, allocations: 1.719 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5383, allocations: 3.938 kB / 0.8566 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.539, allocations: 0.4962 MB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.539, allocations: 18.48 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.539, allocations: 6.938 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5392, allocations: 15.97 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.5393, allocations: 22.23 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5393, allocations: 5.688 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001215/0.5394, allocations: 158.3 kB / 0.8573 GB, free: 27.28 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5394, allocations: 2.812 kB / 0.8573 GB, free: 27.28 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002794/0.5397, allocations: 54.89 kB / 0.8573 GB, free: 27.28 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001143/0.5398, allocations: 118 kB / 0.8575 GB, free: 27.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.5403, allocations: 378.9 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5403, allocations: 0.9062 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.5406, allocations: 173.5 kB / 0.858 GB, free: 26.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.541, allocations: 67.09 kB / 0.8581 GB, free: 26.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5422, allocations: 0.6731 MB / 0.8587 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.134e-05/0.5423, allocations: 126.9 kB / 0.8588 GB, free: 26.53 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.5424, allocations: 26.3 kB / 0.8589 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.5424, allocations: 19.28 kB / 0.8589 GB, free: 26.52 MB / 490.8 MB Notification: Performance of SimCode: time 4.11e-07/0.5424, allocations: 2.219 kB / 0.8589 GB, free: 26.52 MB / 490.8 MB Notification: Performance of Templates: time 0.007709/0.5501, allocations: 3.646 MB / 0.8624 GB, free: 26.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.6694895720575005]