Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.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.0008678/0.0008678, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002216, 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.000991/0.000991, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009936/0.001985, 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 0.9629/0.9629, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0785/1.041, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.6969/0.6969, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.7208, allocations: 21.04 MB / 0.5431 GB, free: 31.81 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.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5443 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.681e-05, allocations: 2.312 kB / 0.5443 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002942/0.002959, allocations: 2.672 MB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000528/0.003487, allocations: 307.1 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.003583, allocations: 4 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.884e-05/0.003661, allocations: 35.58 kB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.003894, allocations: 123 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.00401, allocations: 63.84 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003395/0.007405, allocations: 366.2 kB / 0.5478 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.007535, allocations: 54.86 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.007728, allocations: 240 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.00787, allocations: 127.6 kB / 0.5482 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.007905, allocations: 24 kB / 0.5482 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.007936, allocations: 24 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.007969, allocations: 35.88 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.008055, allocations: 91.81 kB / 0.5483 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.008323, allocations: 195.2 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.008341, allocations: 0 / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008342, allocations: 0 / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.008359, allocations: 0 / 0.5485 GB, free: 26.19 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.0008817/0.009241, allocations: 0.6008 MB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.009274, allocations: 16.02 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.009352, allocations: 36.91 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.009607, allocations: 190 kB / 0.5493 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.009639, allocations: 24.88 kB / 0.5494 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.009679, allocations: 32.34 kB / 0.5494 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.009931, allocations: 237.7 kB / 0.5496 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.009949, allocations: 192 / 0.5496 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.009987, allocations: 8.375 kB / 0.5496 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.009995, allocations: 4.375 kB / 0.5496 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.01018, allocations: 190.4 kB / 0.5498 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.01079, allocations: 378.1 kB / 0.5502 GB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.01109, allocations: 201.3 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.01118, allocations: 138.2 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.0112, allocations: 4 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.01144, allocations: 417 kB / 0.5509 GB, free: 23.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.474e-06/0.01144, allocations: 0 / 0.5509 GB, free: 23.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.001184/0.01263, allocations: 1.081 MB / 0.552 GB, free: 22.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.01269, allocations: 298.7 kB / 0.5523 GB, free: 21.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01281, allocations: 195.6 kB / 0.5524 GB, free: 21.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01284, allocations: 37.7 kB / 0.5525 GB, free: 21.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.01287, allocations: 120.9 kB / 0.5526 GB, free: 21.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.01296, allocations: 146.8 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.01305, allocations: 78.16 kB / 0.5528 GB, free: 21.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.0131, allocations: 342.7 kB / 0.5531 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.0132, allocations: 151.9 kB / 0.5533 GB, free: 20.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.01333, allocations: 224.3 kB / 0.5535 GB, free: 20.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.01365, allocations: 0.5076 MB / 0.554 GB, free: 19.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01365, allocations: 0 / 0.554 GB, free: 19.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003503/0.014, allocations: 415.3 kB / 0.5544 GB, free: 19.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.01405, allocations: 89.09 kB / 0.5545 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.01405, allocations: 4 kB / 0.5545 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01407, allocations: 7.938 kB / 0.5545 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.01446, allocations: 138.2 kB / 0.5546 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.01447, allocations: 14.98 kB / 0.5546 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.01463, allocations: 15.98 kB / 0.5546 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01465, allocations: 16 kB / 0.5547 GB, free: 19.24 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.0001695/0.01482, allocations: 236.8 kB / 0.5549 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.01487, allocations: 47.89 kB / 0.5549 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.01492, allocations: 38.92 kB / 0.555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01492, allocations: 4 kB / 0.555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01493, allocations: 0 / 0.555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01493, allocations: 3.984 kB / 0.555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.01555, allocations: 0.6226 MB / 0.5556 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01556, allocations: 0 / 0.5556 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.01593, allocations: 99.55 kB / 0.5557 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.01597, allocations: 27.8 kB / 0.5557 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01597, allocations: 0 / 0.5557 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.016, allocations: 8 kB / 0.5557 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.016, allocations: 7.938 kB / 0.5557 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.016, allocations: 0 / 0.5557 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.01648, allocations: 0.678 MB / 0.5564 GB, free: 17.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.01653, allocations: 12 kB / 0.5564 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.0167, allocations: 15.98 kB / 0.5564 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.01677, allocations: 27.95 kB / 0.5564 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.01679, allocations: 15.98 kB / 0.5564 GB, free: 17.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.01686, allocations: 65.55 kB / 0.5565 GB, free: 17.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01686, allocations: 3.938 kB / 0.5565 GB, free: 17.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000351/0.01721, allocations: 96 kB / 0.5566 GB, free: 17.08 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 0.0001025/0.01731, allocations: 100.4 kB / 0.5567 GB, free: 16.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.01766, allocations: 0.5254 MB / 0.5572 GB, free: 16.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.01766, allocations: 0 / 0.5572 GB, free: 16.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.01785, allocations: 381.1 kB / 0.5576 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.01825, allocations: 118.9 kB / 0.5577 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009177/0.02742, allocations: 0.7347 MB / 0.5584 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.0275, allocations: 159.7 kB / 0.5586 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.02772, allocations: 151.2 kB / 0.5587 GB, free: 14.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.02772, allocations: 0 / 0.5587 GB, free: 14.71 MB / 410.7 MB Notification: Performance of Templates: time 0.2092/0.237, allocations: 3.91 MB / 0.5625 GB, free: 84.53 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.262594792991877]