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.001025/0.001025, allocations: 91.06 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.001194/0.001194, 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 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.727/2.727, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 12 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8918, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.055/0.9469, allocations: 53.79 MB / 1.034 GB, free: 384 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.967, allocations: 12.78 MB / 1.046 GB, free: 3.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.9703, allocations: 55.56 kB / 1.046 GB, free: 3.516 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.9732, allocations: 0.5976 MB / 1.047 GB, free: 2.914 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00816/0.9814, allocations: 1.976 MB / 1.049 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.9862, allocations: 1.37 MB / 1.05 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007877/0.9941, allocations: 4.789 MB / 1.055 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.9971, allocations: 1.079 MB / 1.056 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/1.002, allocations: 1.575 MB / 1.057 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/1.005, allocations: 1.217 MB / 1.059 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007041/1.006, allocations: 64 kB / 1.059 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/1.01, allocations: 0.9046 MB / 1.059 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007943/1.011, allocations: 282.5 kB / 1.06 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.012, allocations: 348.8 kB / 1.06 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/1.015, allocations: 1.541 MB / 1.062 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.015, allocations: 0 / 1.062 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.515e-06/1.015, allocations: 0 / 1.062 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001044/1.015, allocations: 0 / 1.062 GB, free: 3.734 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.004484/1.02, allocations: 1.824 MB / 1.063 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.02, allocations: 8.031 kB / 1.063 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/1.02, allocations: 135.1 kB / 1.063 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/1.021, allocations: 205.7 kB / 1.064 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/1.024, allocations: 1.071 MB / 1.065 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.024, allocations: 82 kB / 1.065 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/1.024, allocations: 104 kB / 1.065 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.026, allocations: 0.7258 MB / 1.066 GB, free: 15.46 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.026, allocations: 0 / 1.066 GB, free: 15.46 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/1.026, allocations: 32 kB / 1.066 GB, free: 15.43 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/1.026, allocations: 20 kB / 1.066 GB, free: 15.41 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.027, allocations: 0.5505 MB / 1.066 GB, free: 14.86 MB / 0.8263 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.007167/1.034, allocations: 4.051 MB / 1.07 GB, free: 10.41 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/1.035, allocations: 453.1 kB / 1.071 GB, free: 9.957 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/1.036, allocations: 223.6 kB / 1.071 GB, free: 9.738 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/1.036, allocations: 0.503 MB / 1.071 GB, free: 9.125 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.036, allocations: 39 kB / 1.071 GB, free: 9.074 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=51): time 2.615e-06/1.036, allocations: 0 / 1.071 GB, free: 9.074 MB / 0.8263 GB Notification: Performance of matching and sorting (n=51): time 0.004629/1.041, allocations: 1.695 MB / 1.073 GB, free: 7.242 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.041, allocations: 59.84 kB / 1.073 GB, free: 7.172 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.043, allocations: 1.336 MB / 1.074 GB, free: 5.832 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.043, allocations: 49.64 kB / 1.074 GB, free: 5.777 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/1.044, allocations: 0.6891 MB / 1.075 GB, free: 5.082 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/1.044, allocations: 173.4 kB / 1.075 GB, free: 4.91 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/1.044, allocations: 16 kB / 1.075 GB, free: 4.895 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.045, allocations: 326 kB / 1.076 GB, free: 4.57 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/1.045, allocations: 181.2 kB / 1.076 GB, free: 4.395 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/1.046, allocations: 450.8 kB / 1.076 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/1.046, allocations: 239.3 kB / 1.076 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.046, allocations: 0 / 1.076 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002874/1.049, allocations: 1.011 MB / 1.077 GB, free: 2.586 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.049, allocations: 125.3 kB / 1.077 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.049, allocations: 0 / 1.077 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/1.051, allocations: 348.7 kB / 1.078 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/1.052, allocations: 127.8 kB / 1.078 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/1.055, allocations: 3.986 MB / 1.082 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.056, allocations: 179.1 kB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.057, allocations: 31.98 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.057, allocations: 4 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/1.058, allocations: 0.6682 MB / 1.083 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.058, allocations: 0 / 1.083 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/1.059, allocations: 213 kB / 1.083 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.059, allocations: 103.8 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/1.067, allocations: 8.925 MB / 1.092 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.069, allocations: 167.4 kB / 1.092 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.069, allocations: 28 kB / 1.092 GB, free: 2.629 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.0008515/1.07, allocations: 345.3 kB / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/1.071, allocations: 150.1 kB / 1.092 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/1.073, allocations: 0.9448 MB / 1.093 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.073, allocations: 4 kB / 1.093 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.073, allocations: 0 / 1.093 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/1.073, allocations: 11.92 kB / 1.093 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/1.077, allocations: 1.927 MB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.077, allocations: 4.188 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/1.077, allocations: 75.89 kB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/1.078, allocations: 221 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/1.078, allocations: 19.95 kB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/1.081, allocations: 3.955 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.081, allocations: 0 / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.083, allocations: 0.9831 MB / 1.1 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008572/1.083, allocations: 302.8 kB / 1.101 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/1.084, allocations: 15.94 kB / 1.101 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.085, allocations: 91.75 kB / 1.101 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.085, allocations: 48.39 kB / 1.101 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/1.085, allocations: 24 kB / 1.101 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001709/1.087, allocations: 0.8857 MB / 1.102 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/1.087, allocations: 0 / 1.102 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00309/1.09, allocations: 0.7251 MB / 1.102 GB, free: 7.52 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.003022/1.093, allocations: 1.699 MB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003474/1.096, allocations: 1.593 MB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.096, allocations: 0 / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/1.097, allocations: 311.5 kB / 1.106 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.102, allocations: 0.7161 MB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/1.12, allocations: 8.085 MB / 1.114 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.121, allocations: 1.233 MB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001458/1.122, allocations: 255.2 kB / 1.116 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/1.123, allocations: 0.5852 MB / 1.116 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of SimCode: time 1.393e-06/1.123, allocations: 0 / 1.116 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/1.205, allocations: 41.54 MB / 1.157 GB, free: 15.66 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/1.206, allocations: 275.6 kB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/4.7, allocations: 0 / 1.157 GB, free: 15.3 MB / 0.92 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