Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",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.367/2.367, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001115/0.001115, allocations: 179.9 kB / 0.4901 GB, free: 2.227 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008787/0.0008787, allocations: 97.44 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003801, allocations: 7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2888, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.4768, allocations: 156.6 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4771, allocations: 83.95 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.5232, allocations: 15.52 MB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5233, allocations: 0 / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.694e-05/0.5233, allocations: 15.98 kB / 1.397 GB, free: 13.17 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001474/0.5248, allocations: 0.6895 MB / 1.398 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5249, allocations: 8.562 kB / 1.398 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.525, allocations: 70.53 kB / 1.398 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.5259, allocations: 111.4 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.5265, allocations: 350 kB / 1.399 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.5266, allocations: 24.66 kB / 1.399 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.5266, allocations: 28 kB / 1.399 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.5274, allocations: 321.9 kB / 1.399 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5275, allocations: 3.938 kB / 1.399 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5275, allocations: 12 kB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5275, allocations: 12 kB / 1.399 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.5284, allocations: 294.4 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.5303, allocations: 0.9086 MB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.5313, allocations: 300.3 kB / 1.4 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.5314, allocations: 93.91 kB / 1.401 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5315, allocations: 38.52 kB / 1.401 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.5315, allocations: 0 / 1.401 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.001315/0.5328, allocations: 406.4 kB / 1.401 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5329, allocations: 55.41 kB / 1.401 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.5332, allocations: 296.7 kB / 1.401 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.5333, allocations: 33.7 kB / 1.401 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5334, allocations: 188.6 kB / 1.402 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.5335, allocations: 70.83 kB / 1.402 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.5335, allocations: 8 kB / 1.402 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5337, allocations: 346.8 kB / 1.402 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.5341, allocations: 104.5 kB / 1.402 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.5344, allocations: 117.4 kB / 1.402 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5348, allocations: 109.9 kB / 1.402 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5348, allocations: 4 kB / 1.402 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009549/0.5358, allocations: 345.8 kB / 1.403 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.5358, allocations: 11.98 kB / 1.403 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5358, allocations: 3.953 kB / 1.403 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5359, allocations: 0 / 1.403 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.5363, allocations: 75.94 kB / 1.403 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5363, allocations: 7.938 kB / 1.403 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.5367, allocations: 55.5 kB / 1.403 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.5367, allocations: 11.98 kB / 1.403 GB, free: 7.48 MB / 0.9011 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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.5369, allocations: 137.8 kB / 1.403 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5371, allocations: 39.61 kB / 1.403 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5381, allocations: 387.3 kB / 1.403 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5381, allocations: 3.953 kB / 1.403 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5381, allocations: 4 kB / 1.403 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5382, allocations: 3.984 kB / 1.403 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.5386, allocations: 353.4 kB / 1.404 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5386, allocations: 0 / 1.404 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.539, allocations: 60 kB / 1.404 GB, free: 6.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.539, allocations: 3.938 kB / 1.404 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.5391, allocations: 3.984 kB / 1.404 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.5391, allocations: 4 kB / 1.404 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5391, allocations: 3.953 kB / 1.404 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.5399, allocations: 311.2 kB / 1.404 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5402, allocations: 140.6 kB / 1.404 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.5403, allocations: 4 kB / 1.404 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.5406, allocations: 23.98 kB / 1.404 GB, free: 5.918 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.5406, allocations: 19.92 kB / 1.404 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.5407, allocations: 8 kB / 1.404 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002886/0.541, allocations: 243.1 kB / 1.404 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.7e-07/0.541, allocations: 0 / 1.404 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000488/0.5415, allocations: 111.8 kB / 1.405 GB, free: 5.547 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.5428, allocations: 0.8879 MB / 1.405 GB, free: 4.633 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008138/0.5436, allocations: 247.7 kB / 1.406 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5436, allocations: 0 / 1.406 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.544, allocations: 127.8 kB / 1.406 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.5446, allocations: 105.7 kB / 1.406 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5464, allocations: 0.981 MB / 1.407 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.5469, allocations: 0.7872 MB / 1.408 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.5473, allocations: 71.12 kB / 1.408 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5475, allocations: 119.4 kB / 1.408 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.5475, allocations: 0 / 1.408 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.5709, allocations: 7.735 MB / 1.415 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.5712, allocations: 188.2 kB / 1.415 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.743, allocations: 0 / 1.415 GB, free: 10.33 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat does not exist to compare? outputFormat=mat