Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",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.001524/0.001524, allocations: 99.86 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.001863/0.001863, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.279/3.279, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.944/2.944, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0008986/0.0008988, allocations: 10.81 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.45, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007754/0.4579, allocations: 3.932 MB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.4621, allocations: 2.148 MB / 0.7931 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.4623, allocations: 0 / 0.7931 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.4627, allocations: 31.81 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.4631, allocations: 91.69 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.4653, allocations: 412.9 kB / 0.7937 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.4657, allocations: 144.7 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.4658, allocations: 29.45 kB / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.4661, allocations: 95.75 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.4664, allocations: 71.69 kB / 0.794 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.4665, allocations: 4 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4676, allocations: 279.6 kB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.4677, allocations: 31.89 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.4678, allocations: 53.64 kB / 0.7943 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.4685, allocations: 215.7 kB / 0.7945 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4686, allocations: 4 kB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4686, allocations: 0 / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4686, allocations: 0 / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001003/0.4696, allocations: 463.1 kB / 0.795 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.4697, allocations: 12.03 kB / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4698, allocations: 50.55 kB / 0.795 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.4701, allocations: 23.8 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.4705, allocations: 218.7 kB / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4705, allocations: 8.328 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4706, allocations: 20 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.4712, allocations: 240 kB / 0.7955 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4712, allocations: 4 kB / 0.7955 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.4713, allocations: 4 kB / 0.7955 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.4713, allocations: 15.94 kB / 0.7956 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.4721, allocations: 427.4 kB / 0.796 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.4741, allocations: 0.98 MB / 0.7969 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.4746, allocations: 155.7 kB / 0.7971 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002711/0.4773, allocations: 1.841 MB / 0.7989 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.4774, allocations: 42.55 kB / 0.7989 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/0.4774, allocations: 4 kB / 0.7989 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000561/0.478, allocations: 140.2 kB / 0.799 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.4781, allocations: 51.41 kB / 0.7991 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.4783, allocations: 163.3 kB / 0.7992 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.4784, allocations: 33.7 kB / 0.7993 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4786, allocations: 143.7 kB / 0.7994 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.4787, allocations: 51.28 kB / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.4787, allocations: 8 kB / 0.7995 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.4789, allocations: 322.8 kB / 0.7998 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4791, allocations: 51.91 kB / 0.7998 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.4793, allocations: 129.7 kB / 0.8 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.4795, allocations: 63.92 kB / 0.8 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4795, allocations: 0 / 0.8 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005849/0.4801, allocations: 217.5 kB / 0.8002 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.4802, allocations: 8 kB / 0.8002 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4802, allocations: 8.031 kB / 0.8002 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.4802, allocations: 4 kB / 0.8002 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.4806, allocations: 55.91 kB / 0.8003 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/0.4806, allocations: 15.88 kB / 0.8003 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.4808, allocations: 27.69 kB / 0.8003 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.4809, allocations: 16 kB / 0.8004 GB, free: 13.73 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0002155/0.4811, allocations: 132.5 kB / 0.8005 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.4812, allocations: 19.86 kB / 0.8005 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.4817, allocations: 153.7 kB / 0.8006 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.4818, allocations: 4 kB / 0.8006 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4818, allocations: 3.938 kB / 0.8007 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4818, allocations: 0 / 0.8007 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.4822, allocations: 225.4 kB / 0.8009 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4822, allocations: 0 / 0.8009 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.4824, allocations: 27.98 kB / 0.8009 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4825, allocations: 0 / 0.8009 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4825, allocations: 11.95 kB / 0.8009 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4825, allocations: 0 / 0.8009 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4825, allocations: 0 / 0.8009 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.4829, allocations: 223.5 kB / 0.8011 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4831, allocations: 116.9 kB / 0.8012 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4832, allocations: 4 kB / 0.8012 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.4835, allocations: 11.95 kB / 0.8012 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.4835, allocations: 11.98 kB / 0.8013 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4836, allocations: 11.98 kB / 0.8013 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001384/0.4837, allocations: 116 kB / 0.8014 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4837, allocations: 0 / 0.8014 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000723/0.4845, allocations: 83.92 kB / 0.8015 GB, free: 12.5 MB / 0.6231 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.001123/0.4856, allocations: 0.8212 MB / 0.8023 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.486, allocations: 118.9 kB / 0.8024 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.486, allocations: 0.9375 kB / 0.8024 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4861, allocations: 39.98 kB / 0.8024 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.4867, allocations: 47.91 kB / 0.8025 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.4907, allocations: 3.267 MB / 0.8057 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.4912, allocations: 0.7208 MB / 0.8064 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003382/0.4916, allocations: 49.8 kB / 0.8064 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4917, allocations: 39.42 kB / 0.8064 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.4917, allocations: 0 / 0.8064 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.5184, allocations: 4.674 MB / 0.811 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003582/0.5189, allocations: 171.4 kB / 0.8112 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/3.533, allocations: 0 / 0.8112 GB, free: 2.461 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: