Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop",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.001247/0.001247, allocations: 98.38 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.001554/0.001554, 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 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.776/2.776, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.0005477, allocations: 12 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8648, allocations: 146.8 MB / 0.9808 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.04946/0.9143, allocations: 48.86 MB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.9316, allocations: 11.63 MB / 1.04 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.9346, allocations: 55.56 kB / 1.04 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.9374, allocations: 0.7111 MB / 1.041 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009363/0.9468, allocations: 2.654 MB / 1.043 GB, free: 6.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.9521, allocations: 1.701 MB / 1.045 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006218/0.9583, allocations: 2.623 MB / 1.047 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.9606, allocations: 1.105 MB / 1.049 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.9647, allocations: 1.483 MB / 1.05 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.9669, allocations: 0.9139 MB / 1.051 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.9671, allocations: 60 kB / 1.051 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.9696, allocations: 0.7996 MB / 1.052 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.9699, allocations: 270.8 kB / 1.052 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/0.9705, allocations: 356.6 kB / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.9725, allocations: 1.484 MB / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9725, allocations: 0 / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9725, allocations: 0 / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.9726, allocations: 0 / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003529/0.9761, allocations: 1.812 MB / 1.056 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.9762, allocations: 12.03 kB / 1.056 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.9764, allocations: 131.1 kB / 1.056 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.9769, allocations: 201.7 kB / 1.056 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.9799, allocations: 1.071 MB / 1.057 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.98, allocations: 78 kB / 1.057 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.9802, allocations: 104 kB / 1.057 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9823, allocations: 0.714 MB / 1.058 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.9823, allocations: 0 / 1.058 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.9824, allocations: 32 kB / 1.058 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.9825, allocations: 27.88 kB / 1.058 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.9842, allocations: 0.5466 MB / 1.058 GB, free: 6.641 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.9946, allocations: 4.054 MB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.9961, allocations: 481 kB / 1.063 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.9966, allocations: 0.4991 MB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.9967, allocations: 39 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=51): time 3.226e-06/0.9967, allocations: 0 / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=51): time 0.006649/1.003, allocations: 1.686 MB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.003, allocations: 59.84 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/1.006, allocations: 1.336 MB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/1.006, allocations: 45.7 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/1.007, allocations: 0.6852 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/1.007, allocations: 177.4 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/1.007, allocations: 12 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.008, allocations: 330 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/1.008, allocations: 185.2 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/1.009, allocations: 446.8 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/1.01, allocations: 239.3 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.01, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004176/1.014, allocations: 1.015 MB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.014, allocations: 379.7 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.014, allocations: 3.953 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/1.017, allocations: 356.6 kB / 1.07 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.018, allocations: 115.9 kB / 1.07 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/1.021, allocations: 3.982 MB / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.024, allocations: 175.1 kB / 1.074 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.024, allocations: 31.98 kB / 1.074 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.024, allocations: 4 kB / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002332/1.026, allocations: 0.6763 MB / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.026, allocations: 0 / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008942/1.027, allocations: 213 kB / 1.075 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/1.028, allocations: 103.9 kB / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/1.036, allocations: 8.969 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.038, allocations: 173.1 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.038, allocations: 27.92 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000642/1.038, allocations: 350.9 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/1.039, allocations: 150.1 kB / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/1.04, allocations: 0.941 MB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.04, allocations: 8 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/1.04, allocations: 0 / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.04, allocations: 3.984 kB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/1.043, allocations: 1.934 MB / 1.088 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.043, allocations: 4 kB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/1.044, allocations: 67.89 kB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/1.044, allocations: 221.1 kB / 1.088 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/1.044, allocations: 19.98 kB / 1.088 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.046, allocations: 3.951 MB / 1.092 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.046, allocations: 272 / 1.092 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.048, allocations: 1.09 MB / 1.093 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/1.048, allocations: 306.8 kB / 1.093 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.049, allocations: 15.95 kB / 1.093 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/1.049, allocations: 91.77 kB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/1.049, allocations: 40.44 kB / 1.093 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.049, allocations: 23.98 kB / 1.093 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001101/1.05, allocations: 0.8857 MB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0 / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002069/1.053, allocations: 0.729 MB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 5,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/1.055, allocations: 2.174 MB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002838/1.058, allocations: 1.59 MB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.058, allocations: 0 / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/1.059, allocations: 327.4 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/1.062, allocations: 0.682 MB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/1.068, allocations: 3.783 MB / 1.103 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/1.069, allocations: 1.266 MB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00114/1.07, allocations: 247.4 kB / 1.105 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/1.071, allocations: 0.5774 MB / 1.105 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of SimCode: time 2.475e-06/1.071, allocations: 0 / 1.105 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.512/4.582, allocations: 40.65 MB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/4.583, allocations: 264.9 kB / 1.145 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/8.01, allocations: 4 kB / 1.145 GB, free: 11.82 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat does not exist to compare? outputFormat=mat