Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.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.0006555/0.0006555, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008407/0.001496, allocations: 440 kB / 10.41 MB, free: 284 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.0006544/0.0006544, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000823/0.001477, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9995/0.9995, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09863/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7383/0.7383, allocations: 291.2 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0306/0.7689, allocations: 21.04 MB / 0.5433 GB, free: 31.46 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.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") translateModel(Pharmacolibrary.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.012e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.002309/0.002329, allocations: 2.723 MB / 0.5473 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.002728, allocations: 282.9 kB / 0.5475 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.002808, allocations: 4 kB / 0.5475 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.491e-05/0.002883, allocations: 39.58 kB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.003026, allocations: 115 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.003127, allocations: 63.84 kB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.003352, allocations: 386.1 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.003478, allocations: 54.86 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.003669, allocations: 249.6 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.00382, allocations: 131.6 kB / 0.5485 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.003854, allocations: 24 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.003886, allocations: 24 kB / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.00392, allocations: 39.81 kB / 0.5486 GB, free: 26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.003987, allocations: 91.81 kB / 0.5487 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004157, allocations: 203.2 kB / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.004169, allocations: 0 / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004169, allocations: 4 kB / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.004178, allocations: 0 / 0.5489 GB, free: 25.71 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005872/0.004765, allocations: 0.6318 MB / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.004793, allocations: 11.89 kB / 0.5495 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.004848, allocations: 44.91 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.005014, allocations: 193.5 kB / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.005033, allocations: 20.19 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.005067, allocations: 32.31 kB / 0.5498 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.005239, allocations: 237.7 kB / 0.55 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.005252, allocations: 4.172 kB / 0.55 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.005265, allocations: 12.38 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005271, allocations: 12.31 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.005386, allocations: 186.4 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.005813, allocations: 382 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.006013, allocations: 197.4 kB / 0.5508 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.006073, allocations: 138.2 kB / 0.5509 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.006087, allocations: 11.92 kB / 0.5509 GB, free: 23.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.006257, allocations: 405 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.006259, allocations: 0 / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007913/0.00705, allocations: 1.089 MB / 0.5524 GB, free: 21.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.00711, allocations: 383.8 kB / 0.5528 GB, free: 21.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.007202, allocations: 213 kB / 0.553 GB, free: 21.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.007218, allocations: 41.69 kB / 0.553 GB, free: 21.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.007239, allocations: 129.4 kB / 0.5531 GB, free: 20.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.007299, allocations: 146.8 kB / 0.5533 GB, free: 20.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.007354, allocations: 74.17 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.007392, allocations: 346.7 kB / 0.5537 GB, free: 20.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.007459, allocations: 155.9 kB / 0.5538 GB, free: 20.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.007544, allocations: 228.3 kB / 0.554 GB, free: 19.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.007744, allocations: 0.501 MB / 0.5545 GB, free: 19.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007746, allocations: 0 / 0.5545 GB, free: 19.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002548/0.008001, allocations: 415.6 kB / 0.5549 GB, free: 18.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.008034, allocations: 93.12 kB / 0.555 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.00804, allocations: 4 kB / 0.555 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008054, allocations: 7.938 kB / 0.555 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.008282, allocations: 121.8 kB / 0.5551 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.008288, allocations: 15.92 kB / 0.5552 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.008377, allocations: 12 kB / 0.5552 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.00839, allocations: 16 kB / 0.5552 GB, free: 18.58 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" 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: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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.0001152/0.008506, allocations: 251 kB / 0.5554 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.008538, allocations: 43.91 kB / 0.5555 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.008573, allocations: 35.31 kB / 0.5555 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008575, allocations: 7.969 kB / 0.5555 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.008577, allocations: 4 kB / 0.5555 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008581, allocations: 0 / 0.5555 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.009016, allocations: 0.642 MB / 0.5561 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009018, allocations: 4 kB / 0.5561 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.009253, allocations: 87.92 kB / 0.5562 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.009281, allocations: 23.81 kB / 0.5562 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009284, allocations: 0 / 0.5562 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.0093, allocations: 8 kB / 0.5562 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.009302, allocations: 4 kB / 0.5563 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.009303, allocations: 4 kB / 0.5563 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.009629, allocations: 0.6857 MB / 0.5569 GB, free: 16.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.009665, allocations: 15.98 kB / 0.5569 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.009754, allocations: 8 kB / 0.5569 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.009802, allocations: 23.95 kB / 0.557 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.009817, allocations: 15.98 kB / 0.557 GB, free: 16.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.009869, allocations: 78.78 kB / 0.5571 GB, free: 16.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009869, allocations: 0 / 0.5571 GB, free: 16.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.01007, allocations: 100 kB / 0.5572 GB, free: 16.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 7.208e-05/0.01014, allocations: 97.95 kB / 0.5573 GB, free: 16.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01037, allocations: 0.5339 MB / 0.5578 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01038, allocations: 5.031 kB / 0.5578 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.0105, allocations: 395.5 kB / 0.5582 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.0108, allocations: 371.8 kB / 0.5585 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2402/0.251, allocations: 0.756 MB / 0.5592 GB, free: 85.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.2511, allocations: 100.9 kB / 0.5593 GB, free: 85.02 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.2513, allocations: 38.17 kB / 0.5594 GB, free: 85.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.2515, allocations: 146.6 kB / 0.5595 GB, free: 84.97 MB / 410.8 MB Notification: Performance of SimCode: time 1.082e-06/0.2515, allocations: 0 / 0.5595 GB, free: 84.97 MB / 410.8 MB Notification: Performance of Templates: time 0.007895/0.2594, allocations: 5.04 MB / 0.5644 GB, free: 84.23 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4796539777889848]