Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_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.0008766/0.0008766, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002186, allocations: 443.9 kB / 10.36 MB, free: 332 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.001448/0.001448, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002954, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09131/1.108, allocations: 53.66 MB / 243.3 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.785/0.785, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03308/0.8181, allocations: 21.04 MB / 0.5432 GB, free: 31.94 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.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.979e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference): time 0.002499/0.002519, allocations: 2.49 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.007387, allocations: 6.692 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.007512, allocations: 0 / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.708e-05/0.007589, allocations: 35.64 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.007757, allocations: 79.34 kB / 0.5536 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.007911, allocations: 63.73 kB / 0.5537 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.008121, allocations: 262.6 kB / 0.5539 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.008239, allocations: 42.52 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.008425, allocations: 172.3 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.008591, allocations: 87.72 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.008618, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.008643, allocations: 16 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.008673, allocations: 27.88 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.008739, allocations: 67.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.008911, allocations: 143.5 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.008923, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008924, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.008938, allocations: 0 / 0.5545 GB, free: 20.36 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000586/0.009524, allocations: 0.4937 MB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.009557, allocations: 15.84 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.009607, allocations: 28.91 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.009758, allocations: 179 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.009778, allocations: 16.53 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.009804, allocations: 16.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.009984, allocations: 155.5 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.009995, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.01001, allocations: 3.984 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01001, allocations: 4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.0101, allocations: 80.64 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.01053, allocations: 365 kB / 0.5558 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.01072, allocations: 108.2 kB / 0.5559 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.01076, allocations: 58.55 kB / 0.5559 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.01077, allocations: 4 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.01093, allocations: 192.3 kB / 0.5561 GB, free: 18.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.01093, allocations: 0 / 0.5561 GB, free: 18.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005823/0.01151, allocations: 0.5235 MB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.01154, allocations: 158.2 kB / 0.5568 GB, free: 17.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.01164, allocations: 214 kB / 0.557 GB, free: 17.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.01166, allocations: 29.7 kB / 0.557 GB, free: 17.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.0117, allocations: 120.4 kB / 0.5571 GB, free: 17.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.01173, allocations: 63.47 kB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.01179, allocations: 59.16 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.01183, allocations: 330.8 kB / 0.5576 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.01189, allocations: 101 kB / 0.5577 GB, free: 16.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.01197, allocations: 177.3 kB / 0.5578 GB, free: 16.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01209, allocations: 214.2 kB / 0.558 GB, free: 16.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01209, allocations: 3.938 kB / 0.558 GB, free: 16.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000185/0.01227, allocations: 264.3 kB / 0.5583 GB, free: 16.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.01231, allocations: 69.89 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01231, allocations: 0 / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01233, allocations: 4 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.01251, allocations: 59.91 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01252, allocations: 7.984 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01262, allocations: 12 kB / 0.5584 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01263, allocations: 16.16 kB / 0.5585 GB, free: 15.84 MB / 410.7 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.0001082/0.01274, allocations: 177.5 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.01277, allocations: 23.97 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.0128, allocations: 21.97 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.0128, allocations: 3.984 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0128, allocations: 0 / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.01283, allocations: 15.86 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01284, allocations: 11.94 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01287, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.01294, allocations: 15.98 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01299, allocations: 15.97 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002138/0.0132, allocations: 267 kB / 0.559 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002164/0.01342, allocations: 427.7 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3235/0.3369, allocations: 75.53 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3371, allocations: 61.33 kB / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of Backend: time 7.12e-07/0.3371, allocations: 0 / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.3376, allocations: 338.8 kB / 0.5599 GB, free: 79.36 MB / 410.8 MB Notification: Performance of SimCode: time 0.005752/0.3433, allocations: 1.122 MB / 0.561 GB, free: 78.55 MB / 410.8 MB Notification: Performance of Templates: time 0.007877/0.3512, allocations: 3.853 MB / 0.5647 GB, free: 78.39 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7945799250155687]