Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.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.0009333/0.0009333, allocations: 112.3 kB / 19.71 MB, free: 424 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.000968/0.000968, allocations: 220.3 kB / 23.01 MB, free: 2.961 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.621 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.7433/0.7433, allocations: 312.3 MB / 0.6108 GB, free: 97.66 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_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") [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.001624/0.001624, allocations: 78.91 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1286, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference): time 0.002911/0.1315, allocations: 2.691 MB / 0.8448 GB, free: 7.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.1369, allocations: 6.609 MB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1371, allocations: 4.656 kB / 0.8512 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1372, allocations: 40.11 kB / 0.8513 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1375, allocations: 120.2 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1377, allocations: 72.47 kB / 0.8515 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.138, allocations: 378.8 kB / 0.8518 GB, free: 408 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1381, allocations: 52.91 kB / 0.8519 GB, free: 356 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1383, allocations: 144 kB / 0.852 GB, free: 212 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1385, allocations: 139.9 kB / 0.8521 GB, free: 72 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1385, allocations: 24.62 kB / 0.8522 GB, free: 48 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.25e-05/0.1385, allocations: 24 kB / 0.8522 GB, free: 24 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1386, allocations: 60.42 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.1387, allocations: 128 kB / 0.8524 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1389, allocations: 293.6 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1389, allocations: 0.5 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1389, allocations: 0.5938 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1389, allocations: 3.938 kB / 0.8526 GB, free: 15.55 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.0007635/0.1397, allocations: 0.6062 MB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1397, allocations: 12.03 kB / 0.8533 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.1398, allocations: 33.25 kB / 0.8533 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.14, allocations: 209.7 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.14, allocations: 12.75 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1401, allocations: 28.53 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1404, allocations: 284.7 kB / 0.8538 GB, free: 14.28 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1404, allocations: 4.516 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1404, allocations: 11.94 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1404, allocations: 4.531 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.1407, allocations: 229.7 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.1415, allocations: 0.6812 MB / 0.8547 GB, free: 13.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1418, allocations: 231.6 kB / 0.8549 GB, free: 13.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.142, allocations: 152.9 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.142, allocations: 0 / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.1423, allocations: 358.7 kB / 0.8554 GB, free: 12.49 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.1423, allocations: 0.5 kB / 0.8554 GB, free: 12.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2628/0.4051, allocations: 1.083 MB / 0.8565 GB, free: 30.54 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4052, allocations: 222.1 kB / 0.8567 GB, free: 30.29 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4054, allocations: 245.6 kB / 0.8569 GB, free: 30.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4054, allocations: 41.28 kB / 0.857 GB, free: 30.15 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.4055, allocations: 158.1 kB / 0.8571 GB, free: 30.05 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.4056, allocations: 111.1 kB / 0.8572 GB, free: 29.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.4057, allocations: 77 kB / 0.8573 GB, free: 29.97 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.4057, allocations: 341.5 kB / 0.8576 GB, free: 29.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.4059, allocations: 213.8 kB / 0.8578 GB, free: 29.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.4062, allocations: 313.6 kB / 0.8581 GB, free: 29.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.4066, allocations: 440.7 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4066, allocations: 5.75 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006213/0.4072, allocations: 0.5468 MB / 0.8591 GB, free: 28.83 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.4073, allocations: 91.7 kB / 0.8592 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4073, allocations: 1.469 kB / 0.8592 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.4073, allocations: 4.312 kB / 0.8592 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4075, allocations: 85.44 kB / 0.8592 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4075, allocations: 6.031 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.4077, allocations: 27.03 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.4077, allocations: 17.03 kB / 0.8593 GB, free: 28.73 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.0002024/0.4079, allocations: 225 kB / 0.8595 GB, free: 28.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.408, allocations: 34 kB / 0.8595 GB, free: 28.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.408, allocations: 32.56 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.408, allocations: 3.625 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.408, allocations: 0 / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.408, allocations: 1.969 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.4089, allocations: 0.7632 MB / 0.8603 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4089, allocations: 2.984 kB / 0.8603 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.4091, allocations: 54.64 kB / 0.8604 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4091, allocations: 2.906 kB / 0.8604 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4091, allocations: 10.19 kB / 0.8604 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4091, allocations: 0.9844 kB / 0.8604 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4091, allocations: 0 / 0.8604 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.4098, allocations: 0.734 MB / 0.8611 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.4098, allocations: 20.8 kB / 0.8611 GB, free: 27.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.4099, allocations: 14.16 kB / 0.8611 GB, free: 27.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.41, allocations: 17.58 kB / 0.8612 GB, free: 27.78 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4101, allocations: 32.08 kB / 0.8612 GB, free: 27.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.4101, allocations: 16.09 kB / 0.8612 GB, free: 27.78 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001279/0.4103, allocations: 181.7 kB / 0.8614 GB, free: 27.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4103, allocations: 0 / 0.8614 GB, free: 27.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003453/0.4106, allocations: 93.06 kB / 0.8615 GB, free: 27.7 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.0001185/0.4107, allocations: 121.1 kB / 0.8616 GB, free: 27.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.4113, allocations: 0.566 MB / 0.8621 GB, free: 27.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4113, allocations: 0 / 0.8621 GB, free: 27.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.4115, allocations: 300.9 kB / 0.8624 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.412, allocations: 84.7 kB / 0.8625 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4134, allocations: 0.9608 MB / 0.8634 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4135, allocations: 160.3 kB / 0.8636 GB, free: 26.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.4136, allocations: 31.59 kB / 0.8636 GB, free: 26.5 MB / 490.8 MB Notification: Performance of SimCode: time 7.71e-07/0.4136, allocations: 0 / 0.8636 GB, free: 26.5 MB / 490.8 MB Notification: Performance of Templates: time 0.006521/0.4201, allocations: 4.011 MB / 0.8675 GB, free: 26.14 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.268459874205291]