Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.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.0009326/0.0009326, allocations: 108.3 kB / 19.71 MB, free: 436 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.001035/0.001035, allocations: 217.3 kB / 23.01 MB, free: 2.965 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.9502/0.9502, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.6861/0.6861, allocations: 312.3 MB / 0.6108 GB, free: 96.96 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.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") [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.001609/0.001609, allocations: 75.11 kB / 0.7698 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1216, allocations: 73.99 MB / 0.8421 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002772/0.1244, allocations: 2.54 MB / 0.8446 GB, free: 7.246 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.1251, allocations: 305.5 kB / 0.8448 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1252, allocations: 4.812 kB / 0.8448 GB, free: 6.949 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1253, allocations: 43.52 kB / 0.8449 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1256, allocations: 124.5 kB / 0.845 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1257, allocations: 64.45 kB / 0.8451 GB, free: 6.723 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.126, allocations: 386.7 kB / 0.8454 GB, free: 6.344 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1262, allocations: 53.47 kB / 0.8455 GB, free: 6.293 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1263, allocations: 159.4 kB / 0.8456 GB, free: 6.137 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1265, allocations: 160.3 kB / 0.8458 GB, free: 5.98 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1265, allocations: 24.5 kB / 0.8458 GB, free: 5.957 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.1265, allocations: 28 kB / 0.8458 GB, free: 5.93 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1266, allocations: 72.39 kB / 0.8459 GB, free: 5.859 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1267, allocations: 151.2 kB / 0.8461 GB, free: 5.711 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.1272, allocations: 291.4 kB / 0.8463 GB, free: 5.426 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1272, allocations: 0.5938 kB / 0.8463 GB, free: 5.426 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1272, allocations: 0 / 0.8463 GB, free: 5.426 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1272, allocations: 0.7188 kB / 0.8463 GB, free: 5.426 MB / 474.8 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.000827/0.128, allocations: 0.6431 MB / 0.847 GB, free: 4.734 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1281, allocations: 8.656 kB / 0.847 GB, free: 4.727 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.1281, allocations: 40.7 kB / 0.847 GB, free: 4.688 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1284, allocations: 238 kB / 0.8472 GB, free: 4.43 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1284, allocations: 17.41 kB / 0.8473 GB, free: 4.414 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1284, allocations: 32.31 kB / 0.8473 GB, free: 4.383 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.1287, allocations: 285.5 kB / 0.8476 GB, free: 4.078 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1287, allocations: 8.75 kB / 0.8476 GB, free: 4.07 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1288, allocations: 11.94 kB / 0.8476 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1288, allocations: 8.531 kB / 0.8476 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.129, allocations: 255.2 kB / 0.8478 GB, free: 3.785 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.1296, allocations: 0.4961 MB / 0.8483 GB, free: 3.258 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.13, allocations: 269.1 kB / 0.8486 GB, free: 2.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.1301, allocations: 175 kB / 0.8487 GB, free: 2.77 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1301, allocations: 8.562 kB / 0.8487 GB, free: 2.762 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.1304, allocations: 456.2 kB / 0.8492 GB, free: 2.246 MB / 474.8 MB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.1304, allocations: 0.6562 kB / 0.8492 GB, free: 2.246 MB / 474.8 MB Notification: Performance of matching and sorting (n=42): time 0.001307/0.1317, allocations: 1.309 MB / 0.8505 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.1318, allocations: 298.7 kB / 0.8507 GB, free: 472 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.132, allocations: 270.5 kB / 0.851 GB, free: 192 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.132, allocations: 33.7 kB / 0.851 GB, free: 152 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.1321, allocations: 157.7 kB / 0.8512 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.1322, allocations: 135.5 kB / 0.8513 GB, free: 15.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.1323, allocations: 78.19 kB / 0.8514 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.1324, allocations: 347.5 kB / 0.8517 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1325, allocations: 204.5 kB / 0.8519 GB, free: 15.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1327, allocations: 288.2 kB / 0.8522 GB, free: 14.87 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1338, allocations: 0.8258 MB / 0.853 GB, free: 13.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1338, allocations: 3.938 kB / 0.853 GB, free: 13.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004833/0.1342, allocations: 0.5639 MB / 0.8536 GB, free: 13.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.1343, allocations: 89.11 kB / 0.8536 GB, free: 13.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1343, allocations: 4 kB / 0.8536 GB, free: 13.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1343, allocations: 4.875 kB / 0.8536 GB, free: 13.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1345, allocations: 93.41 kB / 0.8537 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1345, allocations: 11.94 kB / 0.8537 GB, free: 13.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1346, allocations: 15.98 kB / 0.8538 GB, free: 13.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1347, allocations: 20 kB / 0.8538 GB, free: 13.09 MB / 490.8 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.0001966/0.1349, allocations: 261 kB / 0.854 GB, free: 12.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1349, allocations: 35.77 kB / 0.8541 GB, free: 12.77 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.1349, allocations: 39.3 kB / 0.8541 GB, free: 12.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1349, allocations: 5.094 kB / 0.8541 GB, free: 12.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1349, allocations: 0 / 0.8541 GB, free: 12.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1349, allocations: 7.922 kB / 0.8541 GB, free: 12.72 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.1358, allocations: 0.8903 MB / 0.855 GB, free: 11.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1358, allocations: 0 / 0.855 GB, free: 11.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.136, allocations: 67.89 kB / 0.855 GB, free: 11.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.136, allocations: 0.7188 kB / 0.855 GB, free: 11.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.136, allocations: 16.56 kB / 0.8551 GB, free: 11.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.136, allocations: 0 / 0.8551 GB, free: 11.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.136, allocations: 4.562 kB / 0.8551 GB, free: 11.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2691/0.4051, allocations: 0.8784 MB / 0.8559 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4052, allocations: 27.38 kB / 0.856 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.4052, allocations: 15.03 kB / 0.856 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4054, allocations: 17.12 kB / 0.856 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.4055, allocations: 27.86 kB / 0.856 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4055, allocations: 17.78 kB / 0.856 GB, free: 29.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00014/0.4056, allocations: 200.9 kB / 0.8562 GB, free: 29.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4056, allocations: 0 / 0.8562 GB, free: 29.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002838/0.4059, allocations: 101 kB / 0.8563 GB, free: 29.09 MB / 490.8 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.0001011/0.406, allocations: 119.2 kB / 0.8564 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.4064, allocations: 0.5966 MB / 0.857 GB, free: 28.63 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4064, allocations: 0.5 kB / 0.857 GB, free: 28.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4066, allocations: 408.3 kB / 0.8574 GB, free: 28.35 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.407, allocations: 77.53 kB / 0.8575 GB, free: 28.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4082, allocations: 1.157 MB / 0.8586 GB, free: 27.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/0.4083, allocations: 177.3 kB / 0.8588 GB, free: 27.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.4084, allocations: 36.11 kB / 0.8588 GB, free: 27.7 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.4084, allocations: 0 / 0.8588 GB, free: 27.7 MB / 490.8 MB Notification: Performance of Templates: time 0.005225/0.4136, allocations: 4.343 MB / 0.863 GB, free: 27.3 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.906169142574072]