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.0007407/0.0007407, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001795, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0007327/0.0007327, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009925/0.001725, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.154/1.154, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09993/1.254, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.7482/0.7482, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.7752, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.734e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam): time 0.002287/0.002304, allocations: 2.953 MB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.00652, allocations: 6.763 MB / 0.554 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.006648, allocations: 0 / 0.554 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.231e-05/0.00673, allocations: 47.56 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.006912, allocations: 123 kB / 0.5541 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.00707, allocations: 75.83 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.007311, allocations: 393.9 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.007425, allocations: 54.86 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.007631, allocations: 254.5 kB / 0.5549 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.007802, allocations: 123.6 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.007834, allocations: 28 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.267e-05/0.007866, allocations: 24 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.007895, allocations: 43.81 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.00797, allocations: 91.81 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.008158, allocations: 207.2 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.008173, allocations: 3.984 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008174, allocations: 0 / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.008188, allocations: 0 / 0.5554 GB, free: 19.39 MB / 410.7 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.0006247/0.008813, allocations: 0.6205 MB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.008842, allocations: 15.89 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.008894, allocations: 36.89 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.009063, allocations: 201.5 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.009085, allocations: 12.75 kB / 0.5562 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.009112, allocations: 32.31 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.009312, allocations: 240 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.009325, allocations: 3.984 kB / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.009345, allocations: 12 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.009351, allocations: 8 kB / 0.5565 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.009459, allocations: 133.8 kB / 0.5566 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.009999, allocations: 0.5038 MB / 0.5571 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.01018, allocations: 160 kB / 0.5573 GB, free: 17.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.01023, allocations: 108.5 kB / 0.5574 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.01024, allocations: 7.938 kB / 0.5574 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.01041, allocations: 315.8 kB / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01041, allocations: 0 / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006934/0.0111, allocations: 0.8086 MB / 0.5585 GB, free: 15.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.01114, allocations: 221.6 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.01124, allocations: 221 kB / 0.5589 GB, free: 15.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01125, allocations: 33.7 kB / 0.5589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.01129, allocations: 141.2 kB / 0.5591 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.01134, allocations: 119 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.0114, allocations: 70.16 kB / 0.5593 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.249/0.2604, allocations: 349.4 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2607, allocations: 140.8 kB / 0.5597 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2608, allocations: 249.7 kB / 0.56 GB, free: 79.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.261, allocations: 344.9 kB / 0.5603 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.261, allocations: 2.531 kB / 0.5603 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003483/0.2613, allocations: 387.8 kB / 0.5607 GB, free: 78.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.2614, allocations: 91.48 kB / 0.5607 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.2614, allocations: 3.641 kB / 0.5608 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2614, allocations: 5.094 kB / 0.5608 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.2618, allocations: 107.4 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2618, allocations: 11.12 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.2619, allocations: 18.23 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2619, allocations: 13.38 kB / 0.5609 GB, free: 78.64 MB / 410.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.0001937/0.2621, allocations: 210.2 kB / 0.5611 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.2622, allocations: 33.08 kB / 0.5611 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.2622, allocations: 34.83 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2622, allocations: 3.656 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2622, allocations: 1.406 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2622, allocations: 2.594 kB / 0.5612 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.2628, allocations: 0.5223 MB / 0.5617 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2628, allocations: 0.5938 kB / 0.5617 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.263, allocations: 73.53 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.2631, allocations: 25.86 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2631, allocations: 2.344 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2631, allocations: 9.891 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2631, allocations: 2.625 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2631, allocations: 0.9375 kB / 0.5618 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.2635, allocations: 0.5228 MB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.2636, allocations: 11.06 kB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2637, allocations: 17.88 kB / 0.5623 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.2637, allocations: 24.89 kB / 0.5624 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2638, allocations: 11.7 kB / 0.5624 GB, free: 77.81 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.2638, allocations: 80.06 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2638, allocations: 0 / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002314/0.2641, allocations: 85.73 kB / 0.5625 GB, free: 77.8 MB / 410.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.0001201/0.2642, allocations: 106.1 kB / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2645, allocations: 489.6 kB / 0.5631 GB, free: 77.37 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.2645, allocations: 2.656 kB / 0.5631 GB, free: 77.37 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2647, allocations: 261.5 kB / 0.5633 GB, free: 77.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.265, allocations: 130.5 kB / 0.5635 GB, free: 77.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/0.2726, allocations: 0.7351 MB / 0.5642 GB, free: 76.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2727, allocations: 161.5 kB / 0.5643 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.273, allocations: 158 kB / 0.5645 GB, free: 76.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.503e-06/0.273, allocations: 1.625 kB / 0.5645 GB, free: 76.68 MB / 410.8 MB Notification: Performance of Templates: time 0.005869/0.2789, allocations: 4.022 MB / 0.5684 GB, free: 75.99 MB / 410.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: 4.628882071003318]