Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001286/0.001286, allocations: 169.2 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.0013/0.0013, allocations: 100.1 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003898, allocations: 11.62 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.491, allocations: 439.9 MB / 1.653 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.491, allocations: 94.27 kB / 1.653 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.311/2.802, allocations: 296 MB / 1.942 GB, free: 358.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.936e-06/2.802, allocations: 0 / 1.942 GB, free: 358.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001411/2.802, allocations: 15 kB / 1.942 GB, free: 358.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004313/2.807, allocations: 1.172 MB / 1.943 GB, free: 357.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/2.807, allocations: 7.75 kB / 1.943 GB, free: 357.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004123/2.807, allocations: 100.3 kB / 1.943 GB, free: 357.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/2.811, allocations: 276.6 kB / 1.943 GB, free: 357.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/2.815, allocations: 0.8813 MB / 1.944 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/2.815, allocations: 41.16 kB / 1.944 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/2.816, allocations: 58.59 kB / 1.944 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/2.819, allocations: 0.7981 MB / 1.945 GB, free: 357 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/2.819, allocations: 3.844 kB / 1.945 GB, free: 357 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/2.82, allocations: 25.41 kB / 1.945 GB, free: 357 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/2.82, allocations: 18.38 kB / 1.945 GB, free: 357 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/2.824, allocations: 0.6172 MB / 1.946 GB, free: 357 MB / 1.167 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.008883/2.833, allocations: 3.765 MB / 1.949 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/2.836, allocations: 0.4926 MB / 1.95 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007649/2.836, allocations: 0.5152 MB / 1.95 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/2.837, allocations: 34.56 kB / 1.95 GB, free: 353.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=26): time 3.777e-06/2.837, allocations: 0 / 1.95 GB, free: 353.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=26): time 0.005289/2.842, allocations: 0.8384 MB / 1.951 GB, free: 353 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/2.842, allocations: 109.8 kB / 1.951 GB, free: 352.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/2.843, allocations: 0.5309 MB / 1.952 GB, free: 352.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/2.844, allocations: 33.58 kB / 1.952 GB, free: 352.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/2.844, allocations: 384.2 kB / 1.952 GB, free: 352.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/2.844, allocations: 88.7 kB / 1.952 GB, free: 352.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/2.844, allocations: 11.88 kB / 1.952 GB, free: 352.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001545/2.844, allocations: 366.4 kB / 1.953 GB, free: 351.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/2.846, allocations: 212.5 kB / 1.953 GB, free: 351.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/2.848, allocations: 367.9 kB / 1.953 GB, free: 351.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/2.849, allocations: 250.1 kB / 1.953 GB, free: 351.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/2.849, allocations: 0 / 1.953 GB, free: 351.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003726/2.853, allocations: 0.6607 MB / 1.954 GB, free: 350.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/2.853, allocations: 11.55 kB / 1.954 GB, free: 350.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/2.853, allocations: 3.75 kB / 1.954 GB, free: 350.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/2.853, allocations: 64.05 kB / 1.954 GB, free: 350.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/2.855, allocations: 137.9 kB / 1.954 GB, free: 350.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/2.855, allocations: 0.6357 MB / 1.955 GB, free: 350.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/2.857, allocations: 107.5 kB / 1.955 GB, free: 350.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/2.857, allocations: 24.98 kB / 1.955 GB, free: 350.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006216/2.858, allocations: 224.6 kB / 1.955 GB, free: 350 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/2.858, allocations: 64.8 kB / 1.955 GB, free: 350 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/2.862, allocations: 0.6595 MB / 1.956 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/2.862, allocations: 3.375 kB / 1.956 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/2.862, allocations: 0 / 1.956 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003015/2.865, allocations: 0.7338 MB / 1.957 GB, free: 349 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/2.87, allocations: 1.34 MB / 1.958 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/2.87, allocations: 7.812 kB / 1.958 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/2.871, allocations: 85.02 kB / 1.958 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/2.871, allocations: 60.28 kB / 1.958 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/2.871, allocations: 15.86 kB / 1.958 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005587/2.872, allocations: 0.6268 MB / 1.959 GB, free: 347.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/2.872, allocations: 3.781 kB / 1.959 GB, free: 347.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/2.876, allocations: 1.005 MB / 1.96 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/2.877, allocations: 204.6 kB / 1.96 GB, free: 346.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/2.877, allocations: 10.34 kB / 1.96 GB, free: 346.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/2.878, allocations: 77.56 kB / 1.96 GB, free: 346.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/2.878, allocations: 29.45 kB / 1.96 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/2.878, allocations: 22.75 kB / 1.96 GB, free: 346.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000633/2.879, allocations: 433.8 kB / 1.96 GB, free: 346.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/2.879, allocations: 3.938 kB / 1.96 GB, free: 346.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001413/2.88, allocations: 331.8 kB / 1.961 GB, free: 346.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004155/2.884, allocations: 2.248 MB / 1.963 GB, free: 344.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001769/2.886, allocations: 0.5083 MB / 1.963 GB, free: 344.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.886, allocations: 0 / 1.963 GB, free: 344.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/2.887, allocations: 249.7 kB / 1.964 GB, free: 344.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/2.889, allocations: 340.8 kB / 1.964 GB, free: 344 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/2.898, allocations: 6.62 MB / 1.97 GB, free: 338.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/2.898, allocations: 0.9486 MB / 1.971 GB, free: 338.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007206/2.899, allocations: 140.7 kB / 1.972 GB, free: 338 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/2.899, allocations: 269 kB / 1.972 GB, free: 337.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.453e-06/2.899, allocations: 0 / 1.972 GB, free: 337.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/2.939, allocations: 22.43 MB / 1.994 GB, free: 322.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/2.939, allocations: 259.5 kB / 1.994 GB, free: 322.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/5.692, allocations: 0 / 1.994 GB, free: 322.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat does not exist to compare? outputFormat=mat