Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001022/0.001022, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3118, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.352, allocations: 154 MB / 1.356 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.353, allocations: 85.83 kB / 1.357 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01827/1.371, allocations: 6.639 MB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.371, allocations: 0 / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.483e-05/1.371, allocations: 7.812 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008866/1.372, allocations: 0.622 MB / 1.364 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.372, allocations: 11.53 kB / 1.364 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/1.372, allocations: 54.64 kB / 1.364 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/1.372, allocations: 327.3 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.372, allocations: 11.69 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/1.373, allocations: 19.38 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003689/1.373, allocations: 216.6 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/1.373, allocations: 303.6 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.373, allocations: 4 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/1.373, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.373, allocations: 7.719 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/1.375, allocations: 1.38 MB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/1.375, allocations: 257.8 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/1.376, allocations: 151.8 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.376, allocations: 7.125 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/1.376, allocations: 38.55 kB / 1.366 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/1.376, allocations: 0 / 1.366 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0009251/1.377, allocations: 393.8 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/1.377, allocations: 55.12 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/1.377, allocations: 256.8 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.377, allocations: 25.7 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.377, allocations: 223 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/1.377, allocations: 84.89 kB / 1.367 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/1.377, allocations: 0 / 1.367 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.377, allocations: 341.1 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/1.378, allocations: 75.62 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.378, allocations: 138.9 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/1.378, allocations: 101.5 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.378, allocations: 0 / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008267/1.379, allocations: 424.1 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/1.379, allocations: 0.5202 MB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.379, allocations: 10.95 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006729/1.38, allocations: 173.2 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.38, allocations: 38.8 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007282/1.381, allocations: 0.819 MB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/1.381, allocations: 22.61 kB / 1.37 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.381, allocations: 7.656 kB / 1.37 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/1.381, allocations: 11.78 kB / 1.37 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007857/1.382, allocations: 371 kB / 1.37 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.382, allocations: 3.969 kB / 1.37 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/1.382, allocations: 177.1 kB / 1.37 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/1.382, allocations: 40.97 kB / 1.37 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/1.385, allocations: 2.283 MB / 1.373 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/1.385, allocations: 32.58 kB / 1.373 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.385, allocations: 11.88 kB / 1.373 GB, free: 28.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001157/1.385, allocations: 112 kB / 1.373 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007907/1.386, allocations: 378.6 kB / 1.373 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/1.386, allocations: 31.16 kB / 1.373 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/1.386, allocations: 43.58 kB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.386, allocations: 3.875 kB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.386, allocations: 3.984 kB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.386, allocations: 7.047 kB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/1.387, allocations: 353.2 kB / 1.374 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.387, allocations: 0 / 1.374 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.387, allocations: 28.31 kB / 1.374 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.388, allocations: 165.2 kB / 1.374 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/1.388, allocations: 2.578 kB / 1.374 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/1.39, allocations: 2.285 MB / 1.376 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.39, allocations: 0 / 1.376 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/1.391, allocations: 486.8 kB / 1.376 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.391, allocations: 128.2 kB / 1.377 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/1.391, allocations: 4.062 kB / 1.377 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.391, allocations: 18.45 kB / 1.377 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/1.391, allocations: 24.27 kB / 1.377 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.391, allocations: 11.53 kB / 1.377 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001725/1.391, allocations: 200.3 kB / 1.377 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.391, allocations: 0 / 1.377 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006241/1.392, allocations: 205 kB / 1.377 GB, free: 26.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.00113/1.393, allocations: 1.023 MB / 1.378 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009378/1.394, allocations: 0.5224 MB / 1.379 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.394, allocations: 0 / 1.379 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/1.395, allocations: 294.9 kB / 1.379 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/1.395, allocations: 63.88 kB / 1.379 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.396, allocations: 0.5099 MB / 1.379 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.397, allocations: 0.8254 MB / 1.38 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001951/1.397, allocations: 46.14 kB / 1.38 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.397, allocations: 111.1 kB / 1.38 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.397, allocations: 0 / 1.38 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/1.427, allocations: 9.058 MB / 1.389 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.427, allocations: 147 kB / 1.389 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.676, allocations: 0 / 1.389 GB, free: 21.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat