Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.0008033/0.0008034, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008237/0.0008237, allocations: 172.7 kB / 15.95 MB, free: 208 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.705/2.705, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005278, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8558, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2679/1.124, allocations: 231.9 MB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02288/1.147, allocations: 16.9 MB / 1.224 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/1.15, allocations: 71.56 kB / 1.224 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/1.153, allocations: 0.7296 MB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/1.163, allocations: 2.813 MB / 1.228 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/1.168, allocations: 1.354 MB / 1.229 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007865/1.176, allocations: 5.816 MB / 1.235 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/1.178, allocations: 1.298 MB / 1.236 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/1.183, allocations: 1.754 MB / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/1.185, allocations: 1.396 MB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002832/1.186, allocations: 72 kB / 1.239 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/1.19, allocations: 1.551 MB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/1.19, allocations: 462.2 kB / 1.241 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/1.191, allocations: 432.6 kB / 1.241 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/1.195, allocations: 2.595 MB / 1.244 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.195, allocations: 0 / 1.244 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.195, allocations: 0 / 1.244 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.91e-05/1.195, allocations: 0 / 1.244 GB, free: 8.336 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00378/1.199, allocations: 2.125 MB / 1.246 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.199, allocations: 11.97 kB / 1.246 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/1.199, allocations: 198.8 kB / 1.246 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.201, allocations: 381.1 kB / 1.247 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.203, allocations: 1.372 MB / 1.248 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/1.203, allocations: 110.7 kB / 1.248 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/1.203, allocations: 139.9 kB / 1.248 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/1.206, allocations: 1.495 MB / 1.25 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.206, allocations: 4 kB / 1.25 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.206, allocations: 56 kB / 1.25 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.818e-05/1.206, allocations: 66.56 kB / 1.25 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/1.208, allocations: 1.15 MB / 1.251 GB, free: 1.051 MB / 0.9981 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.641/1.849, allocations: 7.185 MB / 1.258 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.851, allocations: 0.8192 MB / 1.259 GB, free: 264.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/1.851, allocations: 446.2 kB / 1.259 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/1.852, allocations: 0.7316 MB / 1.26 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.852, allocations: 48.33 kB / 1.26 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=74): time 2.925e-06/1.852, allocations: 0 / 1.26 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74): time 0.006844/1.859, allocations: 2.126 MB / 1.262 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.859, allocations: 59.56 kB / 1.262 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/1.862, allocations: 1.295 MB / 1.263 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.862, allocations: 48.34 kB / 1.263 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/1.862, allocations: 0.8033 MB / 1.264 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.863, allocations: 257 kB / 1.264 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/1.863, allocations: 19.44 kB / 1.264 GB, free: 261 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/1.863, allocations: 341.6 kB / 1.265 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/1.863, allocations: 328.8 kB / 1.265 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/1.864, allocations: 0.5626 MB / 1.266 GB, free: 260.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/1.865, allocations: 418.7 kB / 1.266 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.865, allocations: 1.438 kB / 1.266 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003141/1.868, allocations: 1.268 MB / 1.267 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.869, allocations: 234.9 kB / 1.267 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.869, allocations: 8.719 kB / 1.267 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/1.871, allocations: 414.4 kB / 1.268 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.871, allocations: 165.2 kB / 1.268 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.873, allocations: 2.05 MB / 1.27 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.874, allocations: 187 kB / 1.27 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/1.874, allocations: 40.7 kB / 1.27 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.874, allocations: 5.469 kB / 1.27 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001821/1.876, allocations: 1.063 MB / 1.271 GB, free: 256.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.876, allocations: 4.125 kB / 1.271 GB, free: 256.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.878, allocations: 369.9 kB / 1.272 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/1.878, allocations: 156.8 kB / 1.272 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/1.881, allocations: 3.865 MB / 1.276 GB, free: 253.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.882, allocations: 180 kB / 1.276 GB, free: 253.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/1.882, allocations: 35.69 kB / 1.276 GB, free: 253.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008868/1.883, allocations: 468.2 kB / 1.276 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/1.883, allocations: 157 kB / 1.276 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.886, allocations: 1.214 MB / 1.278 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.886, allocations: 11.92 kB / 1.278 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/1.886, allocations: 0 / 1.278 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/1.888, allocations: 1.295 MB / 1.279 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/1.892, allocations: 2.781 MB / 1.282 GB, free: 249.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.892, allocations: 3.594 kB / 1.282 GB, free: 249.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/1.892, allocations: 99.97 kB / 1.282 GB, free: 249.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.894, allocations: 377 kB / 1.282 GB, free: 249.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/1.894, allocations: 18.58 kB / 1.282 GB, free: 249.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/1.895, allocations: 2.029 MB / 1.284 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.895, allocations: 3.938 kB / 1.284 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.897, allocations: 1.235 MB / 1.285 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/1.897, allocations: 342.9 kB / 1.286 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.897, allocations: 16 kB / 1.286 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/1.898, allocations: 119.7 kB / 1.286 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.898, allocations: 48.5 kB / 1.286 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/1.898, allocations: 27.98 kB / 1.286 GB, free: 246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009971/1.899, allocations: 0.8743 MB / 1.287 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.899, allocations: 4 kB / 1.287 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00228/1.902, allocations: 0.9051 MB / 1.287 GB, free: 244.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/1.904, allocations: 1.988 MB / 1.289 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003047/1.907, allocations: 1.669 MB / 1.291 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.907, allocations: 0 / 1.291 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008719/1.908, allocations: 480.3 kB / 1.292 GB, free: 240.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.911, allocations: 0.8 MB / 1.292 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.926, allocations: 8.975 MB / 1.301 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/1.927, allocations: 1.344 MB / 1.302 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001427/1.928, allocations: 324.5 kB / 1.303 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/1.929, allocations: 0.6438 MB / 1.303 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.483e-06/1.929, allocations: 0 / 1.303 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06507/1.994, allocations: 44.38 MB / 1.347 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.994, allocations: 289.6 kB / 1.347 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/5.15, allocations: 2.75 kB / 1.347 GB, free: 183.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat does not exist to compare? outputFormat=mat