Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.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.Types.Examples.IO_Bus.Variables,fileNamePrefix="Physiolibrary_Physiolibrary_Types_Examples_IO_Bus_Variables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Types.Examples.IO_Bus.Variables,fileNamePrefix="Physiolibrary_Physiolibrary_Types_Examples_IO_Bus_Variables",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.001006/0.001006, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001313/0.001313, allocations: 172.7 kB / 15.95 MB, free: 208 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.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.75 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.08307/0.08307, allocations: 15.39 MB / 285.8 MB, free: 6.008 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.0005598/0.0005601, allocations: 20 kB / 347.8 MB, free: 18.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 51.42 MB / 399.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Types.Examples.IO_Bus.Variables): time 0.003895/0.1243, allocations: 2.069 MB / 401.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000126/0.1245, allocations: 51.58 kB / 401.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1246, allocations: 0 / 401.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1249, allocations: 39.73 kB / 401.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.125, allocations: 23.78 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.1251, allocations: 4 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00369/0.1288, allocations: 2.013 MB / 403.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.1313, allocations: 1.401 MB / 404.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.1319, allocations: 0.6997 MB / 405.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009271/0.1329, allocations: 0.9188 MB / 406.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.133, allocations: 4 kB / 406.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1332, allocations: 0 / 406.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.1336, allocations: 312.2 kB / 406.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.1344, allocations: 0.8691 MB / 407.6 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.1379, allocations: 3.446 MB / 411.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.138, allocations: 0 / 411.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.138, allocations: 0 / 411.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.249e-05/0.1381, allocations: 0 / 411.1 MB, free: 2.602 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007001/0.1451, allocations: 5.043 MB / 416.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1451, allocations: 16.03 kB / 416.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1452, allocations: 38.5 kB / 416.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.1461, allocations: 0.6862 MB / 416.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.1488, allocations: 1.941 MB / 418.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1489, allocations: 8 kB / 418.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1489, allocations: 0 / 418.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1491, allocations: 77.05 kB / 418.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1491, allocations: 4 kB / 418.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1491, allocations: 0 / 418.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1491, allocations: 4 kB / 418.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.1492, allocations: 15.94 kB / 418.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.1531, allocations: 2.698 MB / 421.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.1532, allocations: 173.1 kB / 421.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1533, allocations: 80.14 kB / 421.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1533, allocations: 75.28 kB / 421.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.1534, allocations: 109.8 kB / 422 MB, free: 7.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.1534, allocations: 7.938 kB / 422 MB, free: 7.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0007936/0.1542, allocations: 0.7152 MB / 422.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.1543, allocations: 126.7 kB / 422.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1962/0.3505, allocations: 7.933 MB / 430.8 MB, free: 30.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3506, allocations: 25.7 kB / 430.8 MB, free: 30.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/0.3541, allocations: 3.1 MB / 433.9 MB, free: 28.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.3541, allocations: 1 kB / 433.9 MB, free: 28.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.3541, allocations: 0 / 433.9 MB, free: 28.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.3542, allocations: 311.7 kB / 434.2 MB, free: 28.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.3542, allocations: 6 kB / 434.2 MB, free: 28.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.3543, allocations: 28.75 kB / 434.3 MB, free: 28.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.3543, allocations: 4.672 kB / 434.3 MB, free: 28.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3543, allocations: 4.562 kB / 434.3 MB, free: 28.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.001258/0.3556, allocations: 0.7392 MB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3556, allocations: 6.062 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3556, allocations: 0 / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3557, allocations: 4.844 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3558, allocations: 6.609 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3558, allocations: 2.234 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.3563, allocations: 5.875 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3563, allocations: 4.312 kB / 435 MB, free: 27.87 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00304/0.3594, allocations: 2.081 MB / 437.1 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.3599, allocations: 0.7945 MB / 437.9 MB, free: 26.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009858/0.3609, allocations: 0.828 MB / 438.7 MB, free: 26.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.3609, allocations: 182.2 kB / 438.9 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.3609, allocations: 181.1 kB / 439.1 MB, free: 25.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.361, allocations: 182.1 kB / 439.3 MB, free: 25.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.3637, allocations: 2.576 MB / 441.8 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.3637, allocations: 106.6 kB / 441.9 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.3638, allocations: 105.2 kB / 442 MB, free: 24.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/0.3638, allocations: 184.2 kB / 442.2 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.3638, allocations: 178.5 kB / 442.4 MB, free: 23.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-05/0.3639, allocations: 188.2 kB / 442.6 MB, free: 23.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.757e-05/0.3639, allocations: 178.2 kB / 442.8 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.3646, allocations: 1.026 MB / 443.8 MB, free: 22.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.3652, allocations: 0.7146 MB / 444.5 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.3655, allocations: 192.5 kB / 444.7 MB, free: 22.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.3659, allocations: 101.5 kB / 444.8 MB, free: 21.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.366, allocations: 178.1 kB / 445 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.366, allocations: 106.8 kB / 445.1 MB, free: 21.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.009237/0.3752, allocations: 5.625 MB / 450.7 MB, free: 19.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.3753, allocations: 0 / 450.7 MB, free: 19.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.3761, allocations: 195.9 kB / 450.9 MB, free: 19.83 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007588/0.3769, allocations: 1.562 MB / 452.4 MB, free: 18.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.377, allocations: 16.5 kB / 452.5 MB, free: 18.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.377, allocations: 256 / 452.5 MB, free: 18.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.377, allocations: 4.812 kB / 452.5 MB, free: 18.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/0.3814, allocations: 1.563 MB / 454 MB, free: 17.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05507/0.4365, allocations: 55.24 MB / 0.4973 GB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/0.4398, allocations: 3.952 MB / 0.5012 GB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.4404, allocations: 96.83 kB / 0.5013 GB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/0.4424, allocations: 2.022 MB / 0.5033 GB, free: 2.301 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4424, allocations: 0 / 0.5033 GB, free: 2.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3002/0.7426, allocations: 83.36 MB / 0.5847 GB, free: 123.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.7427, allocations: 182.8 kB / 0.5848 GB, free: 123.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.687/5.43, allocations: 1 kB / 0.5848 GB, free: 123.3 MB / 446.1 MB (rm -f Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.pipe ; mkfifo Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.pipe >> ../files/Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Types_Examples_IO_Bus_Variables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Types_Examples_IO_Bus_Variables.fmu > Physiolibrary_Physiolibrary.Types.Examples.IO_Bus.Variables.pipe 2>&1) Environment - environmentSimulation: