Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.157/2.157, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001018/0.001019, allocations: 180.8 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.442/1.442, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0009195/0.0009197, allocations: 91.92 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.032e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2624, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/4.996, allocations: 1.939 GB / 3.158 GB, free: 374.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/4.997, allocations: 83.95 kB / 3.158 GB, free: 374.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3062/5.303, allocations: 152.7 MB / 3.307 GB, free: 219.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.094e-06/5.303, allocations: 3.938 kB / 3.307 GB, free: 219.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001284/5.303, allocations: 31.94 kB / 3.307 GB, free: 219.5 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003061/5.306, allocations: 1.34 MB / 3.308 GB, free: 218.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/5.306, allocations: 8.031 kB / 3.308 GB, free: 218.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003045/5.306, allocations: 139.7 kB / 3.308 GB, free: 217.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/5.308, allocations: 266.2 kB / 3.309 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/5.31, allocations: 0.8186 MB / 3.309 GB, free: 216.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/5.31, allocations: 70 kB / 3.309 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/5.31, allocations: 88 kB / 3.309 GB, free: 216.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/5.312, allocations: 0.9888 MB / 3.31 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/5.312, allocations: 0 / 3.31 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/5.312, allocations: 36 kB / 3.31 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/5.312, allocations: 24 kB / 3.311 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/5.313, allocations: 1.183 MB / 3.312 GB, free: 214.4 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.004694/5.318, allocations: 3.156 MB / 3.315 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/5.319, allocations: 0.949 MB / 3.316 GB, free: 210.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/5.32, allocations: 356.1 kB / 3.316 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/5.32, allocations: 129.9 kB / 3.316 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/5.321, allocations: 0.4973 MB / 3.317 GB, free: 209.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 3.808e-06/5.321, allocations: 4 kB / 3.317 GB, free: 209.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.001902/5.323, allocations: 0.8871 MB / 3.318 GB, free: 208.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/5.323, allocations: 244.1 kB / 3.318 GB, free: 207.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009717/5.324, allocations: 0.7972 MB / 3.319 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/5.324, allocations: 45.64 kB / 3.319 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/5.324, allocations: 444.4 kB / 3.319 GB, free: 206.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/5.324, allocations: 287.8 kB / 3.319 GB, free: 206.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/5.324, allocations: 16 kB / 3.319 GB, free: 206.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/5.324, allocations: 337.9 kB / 3.32 GB, free: 206 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/5.325, allocations: 265.4 kB / 3.32 GB, free: 205.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/5.325, allocations: 391.7 kB / 3.32 GB, free: 205.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/5.326, allocations: 317.9 kB / 3.321 GB, free: 205 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.326, allocations: 4 kB / 3.321 GB, free: 205 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0016/5.327, allocations: 0.8755 MB / 3.321 GB, free: 204.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/5.327, allocations: 4 kB / 3.321 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/5.327, allocations: 4 kB / 3.321 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/5.328, allocations: 117.6 kB / 3.322 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/5.329, allocations: 179.8 kB / 3.322 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/5.331, allocations: 2.845 MB / 3.324 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/5.332, allocations: 119.2 kB / 3.325 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/5.332, allocations: 27.98 kB / 3.325 GB, free: 200.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/5.332, allocations: 151.5 kB / 3.325 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/5.332, allocations: 90.88 kB / 3.325 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/5.334, allocations: 1.181 MB / 3.326 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/5.334, allocations: 12 kB / 3.326 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/5.334, allocations: 4 kB / 3.326 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/5.334, allocations: 7.969 kB / 3.326 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/5.337, allocations: 2.263 MB / 3.328 GB, free: 196.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/5.337, allocations: 3.953 kB / 3.328 GB, free: 196.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/5.338, allocations: 187.8 kB / 3.328 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/5.339, allocations: 113.6 kB / 3.328 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/5.339, allocations: 35.98 kB / 3.329 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/5.341, allocations: 2.883 MB / 3.331 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/5.341, allocations: 3.984 kB / 3.331 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/5.342, allocations: 1.055 MB / 3.332 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/5.343, allocations: 355.4 kB / 3.333 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/5.343, allocations: 16 kB / 3.333 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/5.344, allocations: 91.88 kB / 3.333 GB, free: 191.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/5.344, allocations: 72.91 kB / 3.333 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/5.344, allocations: 39.97 kB / 3.333 GB, free: 191.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007041/5.345, allocations: 0.6397 MB / 3.334 GB, free: 190.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.345, allocations: 0 / 3.334 GB, free: 190.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001572/5.346, allocations: 0.5185 MB / 3.334 GB, free: 190.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003922/5.35, allocations: 2.846 MB / 3.337 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001346/5.352, allocations: 0.9418 MB / 3.338 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/5.352, allocations: 4 kB / 3.338 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/5.352, allocations: 0.6475 MB / 3.338 GB, free: 186.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/5.354, allocations: 280.8 kB / 3.339 GB, free: 185.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/5.358, allocations: 1.91 MB / 3.341 GB, free: 183.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/5.358, allocations: 1.112 MB / 3.342 GB, free: 182.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001069/5.359, allocations: 323.1 kB / 3.342 GB, free: 182.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/5.36, allocations: 435.2 kB / 3.342 GB, free: 182 MB / 1.167 GB Notification: Performance of SimCode: time 2.384e-06/5.36, allocations: 0 / 3.342 GB, free: 182 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/5.42, allocations: 41.52 MB / 3.383 GB, free: 140.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/5.42, allocations: 236.6 kB / 3.383 GB, free: 140.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/8.847, allocations: 0 / 3.383 GB, free: 140.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat