Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D",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.005353/0.005353, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001468/0.001468, allocations: 191.2 kB / 16.67 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.577/2.577, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2674, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.559/0.8265, allocations: 81.21 MB / 1.321 GB, free: 9.082 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.8526, allocations: 18.44 MB / 1.339 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.8566, allocations: 97.34 kB / 1.339 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.8598, allocations: 1.296 MB / 1.341 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.867, allocations: 2.839 MB / 1.343 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.872, allocations: 2.083 MB / 1.345 GB, free: 8.066 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007444/0.8794, allocations: 5.519 MB / 1.351 GB, free: 5.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.8829, allocations: 2.53 MB / 1.353 GB, free: 4.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.8876, allocations: 2.324 MB / 1.356 GB, free: 2.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.89, allocations: 1.665 MB / 1.357 GB, free: 1.988 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004008/0.8905, allocations: 295.7 kB / 1.357 GB, free: 1.988 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.8944, allocations: 1.965 MB / 1.359 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006494/0.8951, allocations: 0.716 MB / 1.36 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.8965, allocations: 1.457 MB / 1.361 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.9027, allocations: 5.061 MB / 1.366 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9027, allocations: 1.375 kB / 1.366 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9027, allocations: 0 / 1.366 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.657e-05/0.9028, allocations: 0 / 1.366 GB, free: 12.39 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004859/0.9076, allocations: 3.249 MB / 1.37 GB, free: 9.898 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.9077, allocations: 9.906 kB / 1.37 GB, free: 9.898 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002636/0.9079, allocations: 241.9 kB / 1.37 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.909, allocations: 374.2 kB / 1.37 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.9128, allocations: 2.528 MB / 1.373 GB, free: 7.609 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.9129, allocations: 130.4 kB / 1.373 GB, free: 7.551 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.9131, allocations: 171.7 kB / 1.373 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.916, allocations: 1.721 MB / 1.375 GB, free: 6.422 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.916, allocations: 1.188 kB / 1.375 GB, free: 6.422 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.9162, allocations: 74.22 kB / 1.375 GB, free: 6.363 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.9162, allocations: 41.38 kB / 1.375 GB, free: 6.363 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.9186, allocations: 1.251 MB / 1.376 GB, free: 5.734 MB / 1.076 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.008316/0.927, allocations: 7.408 MB / 1.383 GB, free: 15.42 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.9285, allocations: 0.7296 MB / 1.384 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007092/0.9292, allocations: 371.6 kB / 1.384 GB, free: 14.81 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008993/0.9301, allocations: 1.158 MB / 1.385 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9302, allocations: 38.31 kB / 1.385 GB, free: 13.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=58): time 2.003e-06/0.9302, allocations: 0 / 1.385 GB, free: 13.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=58): time 0.002401/0.9326, allocations: 1.05 MB / 1.386 GB, free: 12.88 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.9327, allocations: 114.2 kB / 1.387 GB, free: 12.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.9352, allocations: 2.018 MB / 1.389 GB, free: 11.66 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.9352, allocations: 49.69 kB / 1.389 GB, free: 11.61 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009455/0.9362, allocations: 1.093 MB / 1.39 GB, free: 10.65 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.9364, allocations: 215.8 kB / 1.39 GB, free: 10.46 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.9367, allocations: 193.5 kB / 1.39 GB, free: 10.35 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9368, allocations: 337.4 kB / 1.39 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.9375, allocations: 329 kB / 1.391 GB, free: 9.852 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009991/0.9385, allocations: 0.6344 MB / 1.391 GB, free: 9.301 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.9401, allocations: 0.8601 MB / 1.392 GB, free: 8.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.9401, allocations: 2.594 kB / 1.392 GB, free: 8.688 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00207/0.9422, allocations: 1.109 MB / 1.393 GB, free: 8.117 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9422, allocations: 7 kB / 1.393 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9422, allocations: 7 kB / 1.393 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.9422, allocations: 11.19 kB / 1.393 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.943, allocations: 206.2 kB / 1.393 GB, free: 8.066 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.943, allocations: 19.8 kB / 1.393 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.9441, allocations: 163.9 kB / 1.394 GB, free: 7.957 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.9442, allocations: 42.92 kB / 1.394 GB, free: 7.945 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/0.9454, allocations: 0.7685 MB / 1.394 GB, free: 7.484 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009679/0.9464, allocations: 0.6279 MB / 1.395 GB, free: 6.938 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/0.9479, allocations: 0.8622 MB / 1.396 GB, free: 6.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/0.9479, allocations: 2.219 kB / 1.396 GB, free: 6.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001959/0.9499, allocations: 1.098 MB / 1.397 GB, free: 5.762 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.9499, allocations: 7.438 kB / 1.397 GB, free: 5.762 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9499, allocations: 11.38 kB / 1.397 GB, free: 5.758 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.95, allocations: 11.28 kB / 1.397 GB, free: 5.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.9506, allocations: 204.2 kB / 1.397 GB, free: 5.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.9507, allocations: 20.86 kB / 1.397 GB, free: 5.699 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.9517, allocations: 137.4 kB / 1.397 GB, free: 5.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.9518, allocations: 44.36 kB / 1.397 GB, free: 5.609 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.952, allocations: 239.2 kB / 1.398 GB, free: 5.387 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.9523, allocations: 214.7 kB / 1.398 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.9543, allocations: 1.008 MB / 1.399 GB, free: 4.715 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9543, allocations: 10.41 kB / 1.399 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9543, allocations: 1.344 kB / 1.399 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/0.9557, allocations: 0.7626 MB / 1.4 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.9598, allocations: 2.825 MB / 1.402 GB, free: 1.531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9599, allocations: 7.938 kB / 1.402 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.9604, allocations: 131.8 kB / 1.402 GB, free: 1.395 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.9604, allocations: 4 kB / 1.402 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.9605, allocations: 20 kB / 1.402 GB, free: 1.371 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.9605, allocations: 7.984 kB / 1.402 GB, free: 1.363 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.9605, allocations: 8.156 kB / 1.402 GB, free: 1.355 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.9631, allocations: 1.474 MB / 1.404 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.9636, allocations: 399.4 kB / 1.404 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.9639, allocations: 16 kB / 1.404 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.9647, allocations: 71.98 kB / 1.404 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9648, allocations: 56.3 kB / 1.404 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.9649, allocations: 39.97 kB / 1.404 GB, free: 15.23 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00181/0.9667, allocations: 1.415 MB / 1.406 GB, free: 13.8 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9667, allocations: 3.938 kB / 1.406 GB, free: 13.8 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002081/0.9688, allocations: 0.9933 MB / 1.407 GB, free: 12.8 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 2 (heaPum.eff.hys.y,heaPum.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004713/0.9735, allocations: 2.708 MB / 1.409 GB, free: 10.17 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002507/0.976, allocations: 1.251 MB / 1.411 GB, free: 8.926 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9761, allocations: 4.062 kB / 1.411 GB, free: 8.922 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.9769, allocations: 411 kB / 1.411 GB, free: 8.516 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.9804, allocations: 0.9395 MB / 1.412 GB, free: 7.598 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1, allocations: 14.29 MB / 1.426 GB, free: 8.816 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.001, allocations: 1.514 MB / 1.427 GB, free: 7.266 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001462/1.003, allocations: 442.5 kB / 1.428 GB, free: 6.848 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.004, allocations: 0.9093 MB / 1.429 GB, free: 5.938 MB / 1.123 GB Notification: Performance of SimCode: time 5.81e-07/1.004, allocations: 0 / 1.429 GB, free: 5.938 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3125/1.317, allocations: 57.08 MB / 1.484 GB, free: 13.46 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.75, allocations: 4.375 kB / 1.484 GB, free: 13.45 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1)