Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.287/2.287, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001221/0.001221, allocations: 168.1 kB / 496.1 MB, free: 12.86 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.55/1.55, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.001074/0.001075, allocations: 95.89 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.971e-05/4.985e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3638, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.615, allocations: 435.5 MB / 1.644 GB, free: 14.75 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.616, allocations: 87.95 kB / 1.644 GB, free: 14.66 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.573/6.189, allocations: 1.068 GB / 2.712 GB, free: 262 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.803e-06/6.189, allocations: 0 / 2.712 GB, free: 262 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00023/6.189, allocations: 37.73 kB / 2.712 GB, free: 262 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004446/6.194, allocations: 1.486 MB / 2.714 GB, free: 261.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/6.194, allocations: 11.03 kB / 2.714 GB, free: 261.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003429/6.194, allocations: 122.7 kB / 2.714 GB, free: 261.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/6.196, allocations: 442.4 kB / 2.714 GB, free: 261.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/6.2, allocations: 1.298 MB / 2.715 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/6.201, allocations: 132 kB / 2.715 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/6.201, allocations: 81.53 kB / 2.716 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/6.202, allocations: 0.8772 MB / 2.716 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/6.203, allocations: 3.844 kB / 2.716 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/6.203, allocations: 35.73 kB / 2.716 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/6.203, allocations: 27.34 kB / 2.716 GB, free: 260.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/6.204, allocations: 0.6556 MB / 2.717 GB, free: 260.7 MB / 1.167 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.006671/6.211, allocations: 4.722 MB / 2.722 GB, free: 258.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/6.213, allocations: 0.6984 MB / 2.722 GB, free: 258.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/6.214, allocations: 212.3 kB / 2.723 GB, free: 258.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/6.214, allocations: 0.9135 MB / 2.723 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/6.214, allocations: 34.5 kB / 2.724 GB, free: 257.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.125e-06/6.214, allocations: 2.719 kB / 2.724 GB, free: 257.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.002628/6.217, allocations: 0.771 MB / 2.724 GB, free: 257 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/6.217, allocations: 55.28 kB / 2.724 GB, free: 257 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/6.218, allocations: 0.9034 MB / 2.725 GB, free: 256.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/6.218, allocations: 39.52 kB / 2.725 GB, free: 256.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/6.219, allocations: 0.5379 MB / 2.726 GB, free: 256.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/6.219, allocations: 148.4 kB / 2.726 GB, free: 256.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/6.219, allocations: 16.66 kB / 2.726 GB, free: 256.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/6.219, allocations: 320.1 kB / 2.726 GB, free: 256.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/6.219, allocations: 187 kB / 2.726 GB, free: 256.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/6.22, allocations: 427.7 kB / 2.727 GB, free: 256 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/6.22, allocations: 229.7 kB / 2.727 GB, free: 256 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/6.22, allocations: 0 / 2.727 GB, free: 256 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002792/6.223, allocations: 0.9324 MB / 2.728 GB, free: 255.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003998/6.224, allocations: 1.585 MB / 2.729 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/6.224, allocations: 6.281 kB / 2.729 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009283/6.225, allocations: 255.8 kB / 2.73 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/6.225, allocations: 121.2 kB / 2.73 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008437/6.226, allocations: 0.8287 MB / 2.731 GB, free: 253.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/6.227, allocations: 201.1 kB / 2.731 GB, free: 253.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/6.228, allocations: 35.02 kB / 2.731 GB, free: 253.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/6.228, allocations: 5.906 kB / 2.731 GB, free: 253.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/6.23, allocations: 0.8155 MB / 2.732 GB, free: 253.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/6.23, allocations: 3.781 kB / 2.732 GB, free: 253.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/6.231, allocations: 255.9 kB / 2.732 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/6.231, allocations: 121.2 kB / 2.732 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007534/6.232, allocations: 0.817 MB / 2.733 GB, free: 253.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/6.234, allocations: 164 kB / 2.733 GB, free: 253.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/6.234, allocations: 37.25 kB / 2.733 GB, free: 253.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000312/6.234, allocations: 139.6 kB / 2.733 GB, free: 253 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/6.234, allocations: 112.9 kB / 2.733 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/6.236, allocations: 0.7706 MB / 2.734 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/6.236, allocations: 11.14 kB / 2.734 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/6.236, allocations: 0 / 2.734 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/6.236, allocations: 3.828 kB / 2.734 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004946/6.241, allocations: 2.008 MB / 2.736 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/6.241, allocations: 3.594 kB / 2.736 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/6.241, allocations: 69.89 kB / 2.736 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008129/6.242, allocations: 262.8 kB / 2.736 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/6.242, allocations: 23.44 kB / 2.736 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008016/6.243, allocations: 0.8587 MB / 2.737 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.243, allocations: 5 kB / 2.737 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/6.246, allocations: 1.159 MB / 2.738 GB, free: 251.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/6.247, allocations: 283.5 kB / 2.739 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/6.247, allocations: 14.38 kB / 2.739 GB, free: 251.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/6.248, allocations: 109.8 kB / 2.739 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/6.248, allocations: 46.75 kB / 2.739 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/6.248, allocations: 22.16 kB / 2.739 GB, free: 251.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001305/6.25, allocations: 0.7041 MB / 2.739 GB, free: 251.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/6.25, allocations: 0 / 2.739 GB, free: 251.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002575/6.252, allocations: 0.6222 MB / 2.74 GB, free: 251.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004705/6.257, allocations: 2.817 MB / 2.743 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002139/6.259, allocations: 0.8752 MB / 2.744 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/6.259, allocations: 0 / 2.744 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/6.26, allocations: 302.7 kB / 2.744 GB, free: 249.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/6.262, allocations: 0.4898 MB / 2.744 GB, free: 249.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/6.268, allocations: 1.844 MB / 2.746 GB, free: 249 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/6.269, allocations: 1.095 MB / 2.747 GB, free: 248.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001536/6.271, allocations: 264.8 kB / 2.748 GB, free: 248.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/6.271, allocations: 391.6 kB / 2.748 GB, free: 248.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/6.271, allocations: 0 / 2.748 GB, free: 248.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/6.351, allocations: 40.33 MB / 2.787 GB, free: 243.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/6.351, allocations: 235.7 kB / 2.788 GB, free: 243.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/9.999, allocations: 0 / 2.788 GB, free: 243.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat does not exist to compare? outputFormat=mat