Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo", uses=false) Using package Physiolibrary with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.MichaelisMenten,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_MichaelisMenten",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Chemical.Examples.MichaelisMenten,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_MichaelisMenten",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1238:16-1238:88:writable] Warning: The file was not encoded in UTF-8: "
[1] Matej?k M, Kulh?nek T, Matouaek S. Adair-Based Hemoglobin...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1632:61-1632:133:writable] Warning: The file was not encoded in UTF-8: "
Before silumation in "Dymola 2014 FD01" please set e...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo): time 0.08048/0.08048, allocations: 15.39 MB / 285.8 MB, free: 5.902 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006291, allocations: 12 kB / 347.7 MB, free: 18.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09761, allocations: 51.41 MB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.MichaelisMenten): time 0.002867/0.1005, allocations: 2.693 MB / 401.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.1045, allocations: 2.827 MB / 404.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1047, allocations: 11.94 kB / 404.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1049, allocations: 39.62 kB / 404.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.1059, allocations: 398.7 kB / 405.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.1068, allocations: 379 kB / 405.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1072, allocations: 363.1 kB / 405.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1074, allocations: 77.38 kB / 405.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1076, allocations: 131.5 kB / 406.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1078, allocations: 187.2 kB / 406.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1079, allocations: 12 kB / 406.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.1079, allocations: 16 kB / 406.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.108, allocations: 67.73 kB / 406.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.1081, allocations: 85.52 kB / 406.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1083, allocations: 263.5 kB / 406.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1083, allocations: 4 kB / 406.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1083, allocations: 0 / 406.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1083, allocations: 0 / 406.7 MB, free: 7.031 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001171/0.1095, allocations: 0.6385 MB / 407.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1096, allocations: 11.98 kB / 407.3 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.1096, allocations: 62.5 kB / 407.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1097, allocations: 43.47 kB / 407.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.1102, allocations: 361 kB / 407.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1102, allocations: 16.44 kB / 407.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1103, allocations: 20 kB / 407.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1107, allocations: 233.8 kB / 408 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1107, allocations: 0 / 408 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1107, allocations: 12 kB / 408.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1107, allocations: 11.95 kB / 408.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.111, allocations: 161.6 kB / 408.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1126, allocations: 0.8231 MB / 409 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.1131, allocations: 237.2 kB / 409.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1131, allocations: 4 kB / 409.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1131, allocations: 38.56 kB / 409.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1131, allocations: 0 / 409.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.005181/0.1183, allocations: 1.356 MB / 410.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.1184, allocations: 77.11 kB / 410.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.1189, allocations: 410 kB / 411.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1189, allocations: 29.7 kB / 411.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1191, allocations: 212.1 kB / 411.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.1192, allocations: 78.81 kB / 411.5 MB, free: 1.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.1192, allocations: 8 kB / 411.5 MB, free: 1.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1194, allocations: 346.8 kB / 411.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1196, allocations: 131.9 kB / 411.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.1199, allocations: 221 kB / 412.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1201, allocations: 165.1 kB / 412.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1201, allocations: 0 / 412.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002481/0.1226, allocations: 0.7387 MB / 413.1 MB, free: 336 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.1227, allocations: 7.984 kB / 413.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1227, allocations: 8 kB / 413.1 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/0.1254, allocations: 425.1 kB / 413.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1256, allocations: 43.92 kB / 413.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.1317, allocations: 4.658 MB / 418.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.1321, allocations: 15.94 kB / 418.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1321, allocations: 12 kB / 418.2 MB, free: 10.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.1324, allocations: 169.7 kB / 418.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.1324, allocations: 40.03 kB / 418.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1326, allocations: 51.7 kB / 418.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1326, allocations: 4.062 kB / 418.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.1326, allocations: 8 kB / 418.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1326, allocations: 3.984 kB / 418.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.1358, allocations: 1.191 MB / 419.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1358, allocations: 0 / 419.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1359, allocations: 23.92 kB / 419.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/0.1385, allocations: 425.1 kB / 420.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.1385, allocations: 8 kB / 420.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/0.1437, allocations: 4.432 MB / 424.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1438, allocations: 0 / 424.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.1465, allocations: 0.9593 MB / 425.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.1467, allocations: 148.6 kB / 425.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.1468, allocations: 0 / 425.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1471, allocations: 20.05 kB / 425.7 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.1472, allocations: 19.97 kB / 425.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1472, allocations: 4 kB / 425.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.1475, allocations: 295 kB / 426 MB, free: 2.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1475, allocations: 0 / 426 MB, free: 2.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006642/0.1482, allocations: 144 kB / 426.1 MB, free: 2.547 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002975/0.1512, allocations: 1.562 MB / 427.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1523, allocations: 0.6024 MB / 428.3 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1523, allocations: 0 / 428.3 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1785/0.3308, allocations: 430.3 kB / 428.7 MB, free: 32.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.3314, allocations: 92.3 kB / 428.8 MB, free: 32.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3332, allocations: 2.709 MB / 431.5 MB, free: 30 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3335, allocations: 0.8309 MB / 432.3 MB, free: 29.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.3337, allocations: 56.47 kB / 432.4 MB, free: 29.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3339, allocations: 117.1 kB / 432.5 MB, free: 29.29 MB / 318.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3339, allocations: 1.469 kB / 432.5 MB, free: 29.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.3641, allocations: 12.65 MB / 445.2 MB, free: 25.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.3643, allocations: 215.2 kB / 445.4 MB, free: 25.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.38, allocations: 0 / 445.4 MB, free: 25.36 MB / 318.1 MB (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Chemical_Examples_MichaelisMenten_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Chemical_Examples_MichaelisMenten.fmu > Physiolibrary_Physiolibrary.Chemical.Examples.MichaelisMenten.pipe 2>&1) Environment - environmentSimulation: