Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.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.001448/0.001448, allocations: 108.3 kB / 19.71 MB, free: 436 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.001712/0.001712, allocations: 220.4 kB / 23 MB, free: 2.957 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 0.9781/0.9781, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7713/0.7713, allocations: 312.3 MB / 0.6109 GB, free: 97.17 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.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam") [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.001646/0.001646, allocations: 69.7 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 73.98 MB / 0.8422 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam): time 0.003039/0.1407, allocations: 2.719 MB / 0.8448 GB, free: 7.051 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.1464, allocations: 6.598 MB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1466, allocations: 4.5 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1467, allocations: 39.62 kB / 0.8513 GB, free: 420 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.147, allocations: 120.1 kB / 0.8514 GB, free: 300 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1472, allocations: 73.03 kB / 0.8515 GB, free: 228 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1475, allocations: 382.1 kB / 0.8519 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1477, allocations: 52.58 kB / 0.8519 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1479, allocations: 144 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1481, allocations: 139.9 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1481, allocations: 24 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.645e-05/0.1481, allocations: 24.5 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.1482, allocations: 56.41 kB / 0.8523 GB, free: 15.42 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1483, allocations: 135.4 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1485, allocations: 295.3 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1485, allocations: 4.5 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1485, allocations: 0 / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1485, allocations: 0.5312 kB / 0.8527 GB, free: 15 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007923/0.1493, allocations: 0.602 MB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1494, allocations: 8.875 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.1494, allocations: 32.75 kB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1497, allocations: 209.7 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1497, allocations: 12.75 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1497, allocations: 32.73 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1501, allocations: 288.5 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1501, allocations: 7.953 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1501, allocations: 4.5 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1501, allocations: 4.531 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.1506, allocations: 229.6 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.1515, allocations: 0.6887 MB / 0.8548 GB, free: 12.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.1518, allocations: 235.4 kB / 0.855 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.152, allocations: 153 kB / 0.8551 GB, free: 12.33 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.152, allocations: 4.656 kB / 0.8551 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2899/0.4419, allocations: 349 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.4419, allocations: 0 / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001721/0.4436, allocations: 1.079 MB / 0.8565 GB, free: 20.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4437, allocations: 219.9 kB / 0.8567 GB, free: 20.57 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4439, allocations: 252.1 kB / 0.857 GB, free: 20.46 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.444, allocations: 34.67 kB / 0.857 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.444, allocations: 158.8 kB / 0.8572 GB, free: 20.33 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.4441, allocations: 110.7 kB / 0.8573 GB, free: 20.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.4442, allocations: 75.11 kB / 0.8573 GB, free: 20.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.4443, allocations: 343.1 kB / 0.8577 GB, free: 19.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4445, allocations: 208.6 kB / 0.8579 GB, free: 19.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4447, allocations: 319.2 kB / 0.8582 GB, free: 19.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.4452, allocations: 439.7 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4452, allocations: 3.438 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006103/0.4458, allocations: 0.5452 MB / 0.8591 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.4458, allocations: 95.28 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4458, allocations: 5.531 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.4459, allocations: 5.625 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.4461, allocations: 78.92 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4461, allocations: 6.438 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4463, allocations: 28.09 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.4463, allocations: 15.78 kB / 0.8594 GB, free: 19.01 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.000204/0.4465, allocations: 221.8 kB / 0.8596 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.4465, allocations: 35 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.4466, allocations: 32.34 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4466, allocations: 5.406 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4466, allocations: 4.125 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4466, allocations: 5.688 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4474, allocations: 0.7565 MB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4474, allocations: 6.75 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.4476, allocations: 49.75 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4476, allocations: 5.938 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4477, allocations: 15.03 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4477, allocations: 6.656 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4477, allocations: 0.625 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.4484, allocations: 0.7227 MB / 0.8612 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.4484, allocations: 24.09 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.4485, allocations: 9.469 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.4486, allocations: 21.12 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4487, allocations: 33.58 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4488, allocations: 12.86 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4489, allocations: 177 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4489, allocations: 0.5938 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003554/0.4492, allocations: 89.44 kB / 0.8615 GB, free: 18 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0001142/0.4494, allocations: 124.7 kB / 0.8616 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005566/0.4499, allocations: 0.562 MB / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4499, allocations: 0 / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.4502, allocations: 304.7 kB / 0.8625 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.4507, allocations: 89.36 kB / 0.8626 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4522, allocations: 0.9696 MB / 0.8635 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4523, allocations: 159.5 kB / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.4524, allocations: 28.81 kB / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of SimCode: time 1.312e-06/0.4524, allocations: 0 / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of Templates: time 0.00882/0.4612, allocations: 4.015 MB / 0.8676 GB, free: 16.45 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.387358740903437]