Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0009379/0.000938, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001158/0.001158, allocations: 168.7 kB / 15.95 MB, free: 204 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.393/1.393, allocations: 223.2 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.475/2.475, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 11.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7253, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05399/0.7794, allocations: 56.54 MB / 1.036 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.7945, allocations: 11.24 MB / 1.047 GB, free: 2.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.7966, allocations: 51.62 kB / 1.047 GB, free: 2.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.7981, allocations: 460.9 kB / 1.048 GB, free: 1.801 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.8028, allocations: 1.527 MB / 1.049 GB, free: 272 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.8055, allocations: 0.8637 MB / 1.05 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00433/0.8099, allocations: 3.398 MB / 1.053 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.8114, allocations: 0.8067 MB / 1.054 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/0.8137, allocations: 1.034 MB / 1.055 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.815, allocations: 0.8204 MB / 1.056 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.8151, allocations: 47.94 kB / 1.056 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.8177, allocations: 1.107 MB / 1.057 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.8179, allocations: 199 kB / 1.057 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.8183, allocations: 281 kB / 1.058 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.8203, allocations: 1.648 MB / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8203, allocations: 0 / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8203, allocations: 0 / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.8204, allocations: 0 / 1.059 GB, free: 6.023 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002651/0.823, allocations: 1.528 MB / 1.061 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8231, allocations: 8.031 kB / 1.061 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.8232, allocations: 122.8 kB / 1.061 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.8255, allocations: 0.5096 MB / 1.061 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.8276, allocations: 1.09 MB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.8279, allocations: 137.9 kB / 1.063 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.828, allocations: 83.95 kB / 1.063 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.8301, allocations: 1.025 MB / 1.064 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.8302, allocations: 0 / 1.064 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.8303, allocations: 32 kB / 1.064 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.8303, allocations: 24 kB / 1.064 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.8327, allocations: 0.9954 MB / 1.065 GB, free: 328 kB / 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.006051/0.8388, allocations: 4.703 MB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.8425, allocations: 1.128 MB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/0.8435, allocations: 439.5 kB / 1.071 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009201/0.8444, allocations: 1.029 MB / 1.072 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.8444, allocations: 39 kB / 1.072 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.8445, allocations: 0 / 1.072 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53): time 0.007034/0.8515, allocations: 2.143 MB / 1.074 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.8516, allocations: 59.84 kB / 1.074 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.8528, allocations: 0.9318 MB / 1.075 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.8529, allocations: 41.7 kB / 1.075 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.8533, allocations: 0.5002 MB / 1.075 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.8535, allocations: 189.3 kB / 1.076 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.8535, allocations: 12 kB / 1.076 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8536, allocations: 333.9 kB / 1.076 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.8546, allocations: 372.9 kB / 1.076 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.8557, allocations: 0.538 MB / 1.077 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.8566, allocations: 397.9 kB / 1.077 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8567, allocations: 0 / 1.077 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003653/0.8603, allocations: 1.287 MB / 1.078 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.8605, allocations: 160.4 kB / 1.079 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8605, allocations: 0 / 1.079 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.8617, allocations: 326.4 kB / 1.079 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.8623, allocations: 147.8 kB / 1.079 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.8637, allocations: 0.9271 MB / 1.08 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.8649, allocations: 179.3 kB / 1.08 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.865, allocations: 31.97 kB / 1.08 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.865, allocations: 4 kB / 1.08 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003215/0.8682, allocations: 1.146 MB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8682, allocations: 8 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.8693, allocations: 321.5 kB / 1.082 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.8699, allocations: 147.8 kB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8712, allocations: 0.9365 MB / 1.083 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8724, allocations: 168.9 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.8724, allocations: 31.92 kB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.873, allocations: 345 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.8732, allocations: 110.6 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.8762, allocations: 1.225 MB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.8762, allocations: 11.94 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8763, allocations: 0 / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8763, allocations: 7.984 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.8808, allocations: 2.323 MB / 1.087 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8809, allocations: 0 / 1.087 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.8814, allocations: 116 kB / 1.087 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.8824, allocations: 324.5 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.8825, allocations: 15.98 kB / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.8839, allocations: 0.9722 MB / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8839, allocations: 3.984 kB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.8875, allocations: 1.402 MB / 1.09 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.888, allocations: 287.4 kB / 1.09 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.8882, allocations: 12 kB / 1.09 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009825/0.8892, allocations: 131.8 kB / 1.09 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.8893, allocations: 40.33 kB / 1.09 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.8894, allocations: 23.98 kB / 1.09 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001052/0.8905, allocations: 0.6559 MB / 1.091 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8905, allocations: 0 / 1.091 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00165/0.8921, allocations: 0.573 MB / 1.091 GB, free: 4.133 MB / 0.8419 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004155/0.8963, allocations: 2.049 MB / 1.093 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003753/0.9001, allocations: 1.385 MB / 1.095 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.9001, allocations: 4 kB / 1.095 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.9013, allocations: 484.8 kB / 1.095 GB, free: 192 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.9042, allocations: 0.5091 MB / 1.096 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.9196, allocations: 6.746 MB / 1.102 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.9204, allocations: 1.078 MB / 1.103 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001213/0.9216, allocations: 227.5 kB / 1.103 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.9223, allocations: 415.3 kB / 1.104 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/0.9223, allocations: 0 / 1.104 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06142/0.9838, allocations: 33.17 MB / 1.136 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003629/0.9842, allocations: 273.8 kB / 1.136 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.682, allocations: 0 / 1.136 GB, free: 5.863 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat does not exist to compare? outputFormat=mat