Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 95.95 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.04e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2824, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.492, allocations: 422.6 MB / 1.632 GB, free: 11.78 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.493, allocations: 87.95 kB / 1.632 GB, free: 11.69 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 10.5/12, allocations: 2.797 GB / 4.429 GB, free: 29.36 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.507e-06/12, allocations: 0 / 4.429 GB, free: 29.36 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0008523/12, allocations: 169.6 kB / 4.429 GB, free: 29.19 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01833/12.02, allocations: 5.921 MB / 4.435 GB, free: 23.16 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/12.02, allocations: 8.031 kB / 4.435 GB, free: 23.15 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/12.02, allocations: 0.5318 MB / 4.436 GB, free: 22.61 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/12.02, allocations: 0.7841 MB / 4.436 GB, free: 21.82 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.265/13.29, allocations: 60.66 MB / 4.496 GB, free: 74.84 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/13.29, allocations: 321.8 kB / 4.496 GB, free: 74.82 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/13.29, allocations: 424.9 kB / 4.496 GB, free: 74.82 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/13.3, allocations: 4.186 MB / 4.5 GB, free: 74.04 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/13.3, allocations: 14.67 kB / 4.5 GB, free: 74.04 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/13.3, allocations: 181 kB / 4.501 GB, free: 74.04 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/13.3, allocations: 117 kB / 4.501 GB, free: 74.04 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006679/13.31, allocations: 2.787 MB / 4.503 GB, free: 74.01 MB / 1.292 GB Warning: The model contains alias variables with conflicting start and/or 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.04729/13.35, allocations: 24.05 MB / 4.527 GB, free: 60.05 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/13.36, allocations: 2.903 MB / 4.53 GB, free: 58.88 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/13.36, allocations: 1.048 MB / 4.531 GB, free: 58.86 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002794/13.36, allocations: 3.936 MB / 4.535 GB, free: 54.45 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.52e-05/13.36, allocations: 68.03 kB / 4.535 GB, free: 54.41 MB / 1.292 GB Notification: Performance of pre-optimization done (n=225): time 5.49e-06/13.36, allocations: 2.812 kB / 4.535 GB, free: 54.41 MB / 1.292 GB Notification: Performance of matching and sorting (n=225): time 0.007064/13.37, allocations: 2.565 MB / 4.537 GB, free: 54.02 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/13.37, allocations: 75 kB / 4.537 GB, free: 53.95 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007814/13.38, allocations: 3.613 MB / 4.541 GB, free: 53.63 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/13.38, allocations: 77.45 kB / 4.541 GB, free: 53.6 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002796/13.38, allocations: 2.791 MB / 4.544 GB, free: 52.97 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009609/13.38, allocations: 0.7799 MB / 4.544 GB, free: 52.58 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/13.38, allocations: 52.06 kB / 4.544 GB, free: 52.58 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0001886/13.38, allocations: 414.5 kB / 4.545 GB, free: 52.27 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/13.38, allocations: 0.7645 MB / 4.546 GB, free: 52.26 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/13.38, allocations: 1.765 MB / 4.547 GB, free: 51.11 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/13.39, allocations: 1.064 MB / 4.548 GB, free: 51.07 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/13.39, allocations: 5.875 kB / 4.548 GB, free: 51.07 MB / 1.292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008727/13.4, allocations: 3.289 MB / 4.552 GB, free: 50.68 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.004521/13.4, allocations: 10.36 MB / 4.562 GB, free: 39.92 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/13.4, allocations: 22.44 kB / 4.562 GB, free: 39.92 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/13.4, allocations: 404.7 kB / 4.562 GB, free: 39.89 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/13.4, allocations: 0.5244 MB / 4.563 GB, free: 39.89 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/13.41, allocations: 2.692 MB / 4.565 GB, free: 37.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008672/13.42, allocations: 0.5509 MB / 4.566 GB, free: 37.72 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007191/13.42, allocations: 129.5 kB / 4.566 GB, free: 37.72 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/13.42, allocations: 5.562 kB / 4.566 GB, free: 37.72 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006733/13.42, allocations: 2.735 MB / 4.569 GB, free: 37.62 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-05/13.42, allocations: 24.52 kB / 4.569 GB, free: 37.62 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/13.43, allocations: 377.2 kB / 4.569 GB, free: 37.59 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/13.43, allocations: 0.5228 MB / 4.569 GB, free: 37.59 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/13.44, allocations: 7.699 MB / 4.577 GB, free: 47.97 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/13.45, allocations: 0.5082 MB / 4.577 GB, free: 47.91 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/13.45, allocations: 129.1 kB / 4.578 GB, free: 47.91 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001384/13.45, allocations: 286.1 kB / 4.578 GB, free: 47.8 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002676/13.45, allocations: 0.5082 MB / 4.578 GB, free: 47.54 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008087/13.46, allocations: 3.721 MB / 4.582 GB, free: 47.26 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/13.46, allocations: 43.78 kB / 4.582 GB, free: 47.26 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/13.46, allocations: 0 / 4.582 GB, free: 47.26 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003587/13.46, allocations: 2.536 MB / 4.584 GB, free: 47.05 MB / 1.307 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01656/13.48, allocations: 8.522 MB / 4.593 GB, free: 45.55 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/13.48, allocations: 5.375 kB / 4.593 GB, free: 45.55 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/13.48, allocations: 379.7 kB / 4.593 GB, free: 45.55 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000681/13.48, allocations: 308.7 kB / 4.593 GB, free: 45.51 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/13.48, allocations: 68.41 kB / 4.594 GB, free: 45.51 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/13.48, allocations: 2.484 MB / 4.596 GB, free: 43.43 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/13.48, allocations: 11.31 kB / 4.596 GB, free: 43.43 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007419/13.49, allocations: 4.654 MB / 4.601 GB, free: 42.66 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005197/13.49, allocations: 0.995 MB / 4.601 GB, free: 42.29 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/13.5, allocations: 47.36 kB / 4.602 GB, free: 42.29 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/13.5, allocations: 438.7 kB / 4.602 GB, free: 42.27 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/13.5, allocations: 154.6 kB / 4.602 GB, free: 42.27 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/13.5, allocations: 114.5 kB / 4.602 GB, free: 42.27 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.004686/13.51, allocations: 2.752 MB / 4.605 GB, free: 42.06 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.7e-07/13.51, allocations: 0 / 4.605 GB, free: 42.06 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01358/13.52, allocations: 3.587 MB / 4.608 GB, free: 41.68 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01209/13.53, allocations: 8.505 MB / 4.617 GB, free: 39.12 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.007442/13.54, allocations: 4.493 MB / 4.621 GB, free: 38.54 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/13.54, allocations: 3.312 kB / 4.621 GB, free: 38.54 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/13.54, allocations: 1.298 MB / 4.622 GB, free: 38.51 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/13.56, allocations: 2.701 MB / 4.625 GB, free: 38.49 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/13.58, allocations: 8.593 MB / 4.633 GB, free: 36.38 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003492/13.58, allocations: 3.011 MB / 4.636 GB, free: 35.57 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.009154/13.59, allocations: 1.508 MB / 4.638 GB, free: 35.53 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003611/13.59, allocations: 2.459 MB / 4.64 GB, free: 35.53 MB / 1.307 GB Notification: Performance of SimCode: time 1.453e-06/13.59, allocations: 1.25 kB / 4.64 GB, free: 35.53 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3271/13.92, allocations: 183.4 MB / 4.819 GB, free: 25.02 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/13.92, allocations: 229.7 kB / 4.82 GB, free: 24.8 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.578/23.5, allocations: 0 / 4.82 GB, free: 24.8 MB / 1.307 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat