Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.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.002278/0.002278, allocations: 84.44 kB / 19.17 MB, free: 0.7344 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.002933/0.002933, allocations: 173.9 kB / 22.46 MB, free: 2.098 MB / 18.57 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.665/1.665, allocations: 177.1 MB / 202.8 MB, free: 5.789 MB / 186.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.399/1.399, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6999 GB, free: 8.617 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.169e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone): time 0.002615/0.002637, allocations: 2.309 MB / 0.7021 GB, free: 6.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.007922, allocations: 6.53 MB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.008059, allocations: 7.938 kB / 0.7085 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.008204, allocations: 23.78 kB / 0.7085 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.008469, allocations: 87.27 kB / 0.7086 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.008712, allocations: 55.86 kB / 0.7087 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.009087, allocations: 262.6 kB / 0.7089 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.009236, allocations: 40.5 kB / 0.709 GB, free: 15.28 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.009453, allocations: 143.6 kB / 0.7091 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.009685, allocations: 83.78 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.009724, allocations: 16 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.384e-05/0.009767, allocations: 20 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.009826, allocations: 39.77 kB / 0.7093 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.009939, allocations: 75.84 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.01024, allocations: 199.4 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01024, allocations: 7.938 kB / 0.7095 GB, free: 14.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01025, allocations: 3.938 kB / 0.7095 GB, free: 14.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.01025, allocations: 0 / 0.7095 GB, free: 14.7 MB / 426.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.001019/0.01127, allocations: 488.8 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.01131, allocations: 12.03 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.01138, allocations: 28.78 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.01167, allocations: 182.4 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.01169, allocations: 8.609 kB / 0.7102 GB, free: 13.92 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.01174, allocations: 20.36 kB / 0.7102 GB, free: 13.9 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.01217, allocations: 190.5 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.01219, allocations: 3.953 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.01221, allocations: 4 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.01222, allocations: 4 kB / 0.7104 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.01263, allocations: 154.2 kB / 0.7106 GB, free: 13.54 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.01354, allocations: 481.4 kB / 0.711 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.01411, allocations: 172.2 kB / 0.7112 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.01433, allocations: 95.44 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.01434, allocations: 3.938 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.01476, allocations: 244.3 kB / 0.7115 GB, free: 12.47 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.01476, allocations: 0 / 0.7115 GB, free: 12.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001644/0.01641, allocations: 0.6945 MB / 0.7122 GB, free: 11.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.01652, allocations: 140.5 kB / 0.7123 GB, free: 11.55 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.01679, allocations: 215 kB / 0.7125 GB, free: 11.33 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.01682, allocations: 33.7 kB / 0.7126 GB, free: 11.29 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01694, allocations: 136.5 kB / 0.7127 GB, free: 11.15 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.01701, allocations: 71.38 kB / 0.7128 GB, free: 11.08 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.01711, allocations: 49.7 kB / 0.7128 GB, free: 11.03 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01731, allocations: 334.8 kB / 0.7131 GB, free: 10.69 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.0176, allocations: 145 kB / 0.7133 GB, free: 10.53 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.01794, allocations: 225.3 kB / 0.7135 GB, free: 10.27 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.01845, allocations: 284.8 kB / 0.7138 GB, free: 9.945 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01845, allocations: 0 / 0.7138 GB, free: 9.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007262/0.01918, allocations: 390.2 kB / 0.7141 GB, free: 9.535 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.01924, allocations: 66.2 kB / 0.7142 GB, free: 9.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01925, allocations: 4 kB / 0.7142 GB, free: 9.457 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01927, allocations: 0 / 0.7142 GB, free: 9.457 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.0195, allocations: 59.84 kB / 0.7143 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01951, allocations: 0 / 0.7143 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.0197, allocations: 19.98 kB / 0.7143 GB, free: 9.379 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.01973, allocations: 16.2 kB / 0.7143 GB, free: 9.363 MB / 426.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.0002198/0.01995, allocations: 179.6 kB / 0.7145 GB, free: 9.172 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.01999, allocations: 23.89 kB / 0.7145 GB, free: 9.148 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.02005, allocations: 17.97 kB / 0.7145 GB, free: 9.129 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02005, allocations: 0 / 0.7145 GB, free: 9.129 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.02006, allocations: 3.938 kB / 0.7145 GB, free: 9.125 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.02006, allocations: 11.98 kB / 0.7145 GB, free: 9.113 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.02099, allocations: 0.5406 MB / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02099, allocations: 0 / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.0212, allocations: 31.92 kB / 0.7151 GB, free: 8.492 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.02121, allocations: 4 kB / 0.7151 GB, free: 8.488 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02123, allocations: 7.984 kB / 0.7151 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.02124, allocations: 4 kB / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02124, allocations: 0 / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.02214, allocations: 0.4959 MB / 0.7156 GB, free: 7.949 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.02218, allocations: 15.86 kB / 0.7156 GB, free: 7.934 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.02222, allocations: 11.94 kB / 0.7156 GB, free: 7.922 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.02241, allocations: 12.03 kB / 0.7156 GB, free: 7.91 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.02251, allocations: 27.95 kB / 0.7156 GB, free: 7.883 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.02253, allocations: 4 kB / 0.7157 GB, free: 7.879 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001799/0.02271, allocations: 160.4 kB / 0.7158 GB, free: 7.723 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02271, allocations: 0 / 0.7158 GB, free: 7.723 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003095/0.02302, allocations: 52 kB / 0.7159 GB, free: 7.672 MB / 426.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.0001663/0.02318, allocations: 125.7 kB / 0.716 GB, free: 7.543 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.02386, allocations: 379.6 kB / 0.7163 GB, free: 7.129 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02387, allocations: 0 / 0.7163 GB, free: 7.129 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.02416, allocations: 173 kB / 0.7165 GB, free: 6.941 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.02465, allocations: 83.47 kB / 0.7166 GB, free: 6.863 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.02585, allocations: 0.5689 MB / 0.7171 GB, free: 6.266 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.02599, allocations: 121.6 kB / 0.7173 GB, free: 6.125 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.02609, allocations: 25.94 kB / 0.7173 GB, free: 6.098 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.02616, allocations: 20.5 kB / 0.7173 GB, free: 6.078 MB / 426.8 MB Notification: Performance of SimCode: time 6.71e-07/0.02616, allocations: 0 / 0.7173 GB, free: 6.078 MB / 426.8 MB Notification: Performance of Templates: time 0.2147/0.2408, allocations: 3.323 MB / 0.7205 GB, free: 37.02 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.947488756850362]