Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001147/0.001147, allocations: 175 kB / 498.1 MB, free: 5.68 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.413/1.413, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008836/0.0008835, allocations: 106.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 13.91 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.455, allocations: 159.2 MB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.4553, allocations: 87.95 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06159/0.5169, allocations: 23.19 MB / 1.401 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/0.517, allocations: 3.938 kB / 1.401 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.62e-05/0.517, allocations: 19.98 kB / 1.401 GB, free: 11.23 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001898/0.5189, allocations: 1.07 MB / 1.402 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.519, allocations: 8.031 kB / 1.402 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.5191, allocations: 90.47 kB / 1.402 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.5201, allocations: 210.6 kB / 1.402 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.521, allocations: 0.5155 MB / 1.403 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.521, allocations: 33 kB / 1.403 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.5211, allocations: 44 kB / 1.403 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.522, allocations: 474.1 kB / 1.404 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5221, allocations: 0 / 1.404 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.5221, allocations: 23.95 kB / 1.404 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.5221, allocations: 12 kB / 1.404 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009827/0.5231, allocations: 399.8 kB / 1.404 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.526, allocations: 1.494 MB / 1.405 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.5267, allocations: 275.3 kB / 1.406 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.5267, allocations: 4.234 kB / 1.406 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5268, allocations: 38.8 kB / 1.406 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 2.564e-06/0.5268, allocations: 0 / 1.406 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28): time 0.001921/0.5287, allocations: 0.6913 MB / 1.406 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.5288, allocations: 81.11 kB / 1.406 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.5299, allocations: 0.805 MB / 1.407 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5299, allocations: 33.7 kB / 1.407 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.5303, allocations: 428.1 kB / 1.408 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.5304, allocations: 86.66 kB / 1.408 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.5304, allocations: 8 kB / 1.408 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5305, allocations: 314 kB / 1.408 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.5309, allocations: 136.5 kB / 1.408 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.5313, allocations: 176.8 kB / 1.408 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.5317, allocations: 149.9 kB / 1.409 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5317, allocations: 4 kB / 1.409 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001181/0.5329, allocations: 0.5014 MB / 1.409 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.533, allocations: 93.08 kB / 1.409 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.533, allocations: 4 kB / 1.409 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.5334, allocations: 84.78 kB / 1.409 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5338, allocations: 75.94 kB / 1.409 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004969/0.5343, allocations: 0.6186 MB / 1.41 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.535, allocations: 87.58 kB / 1.41 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.535, allocations: 8 kB / 1.41 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.535, allocations: 4 kB / 1.41 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.5361, allocations: 400.7 kB / 1.41 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.5362, allocations: 3.938 kB / 1.41 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.5365, allocations: 84.8 kB / 1.41 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.5369, allocations: 71.89 kB / 1.41 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.5385, allocations: 1.668 MB / 1.412 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.5391, allocations: 75.59 kB / 1.412 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5392, allocations: 8 kB / 1.412 GB, free: 15.45 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 27 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004939/0.5397, allocations: 341.6 kB / 1.413 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5398, allocations: 90.88 kB / 1.413 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.5399, allocations: 93.06 kB / 1.413 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.54, allocations: 8.031 kB / 1.413 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.54, allocations: 3.953 kB / 1.413 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.54, allocations: 3.984 kB / 1.413 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.5417, allocations: 1.051 MB / 1.414 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5417, allocations: 4 kB / 1.414 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.5419, allocations: 43.97 kB / 1.414 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.5422, allocations: 88.89 kB / 1.414 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5423, allocations: 8 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.5438, allocations: 1.671 MB / 1.416 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5438, allocations: 3.938 kB / 1.416 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.5447, allocations: 0.5782 MB / 1.416 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.545, allocations: 187.9 kB / 1.416 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.5451, allocations: 3.984 kB / 1.416 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.5455, allocations: 31.89 kB / 1.416 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.5455, allocations: 27.97 kB / 1.416 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5456, allocations: 8 kB / 1.416 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009015/0.5465, allocations: 0.661 MB / 1.417 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 4 kB / 1.417 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000756/0.5472, allocations: 271.5 kB / 1.417 GB, free: 9.988 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.549, allocations: 1.673 MB / 1.419 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.5504, allocations: 0.6076 MB / 1.419 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5504, allocations: 3.938 kB / 1.419 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.5508, allocations: 264.8 kB / 1.42 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.5515, allocations: 143.3 kB / 1.42 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006911/0.5584, allocations: 4.703 MB / 1.424 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.5591, allocations: 1.058 MB / 1.425 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.5595, allocations: 72.34 kB / 1.426 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.5598, allocations: 279.3 kB / 1.426 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.5598, allocations: 0 / 1.426 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5105/1.07, allocations: 18.47 MB / 1.444 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/1.07, allocations: 226 kB / 1.444 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.525, allocations: 4 kB / 1.444 GB, free: 183.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat