Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.17/2.17, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001162/0.001162, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.385/1.385, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009191/0.0009191, allocations: 91.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.523e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.185/4.43, allocations: 1.737 GB / 2.955 GB, free: 99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/4.43, allocations: 91.94 kB / 2.955 GB, free: 98.91 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1609/4.591, allocations: 78.63 MB / 3.032 GB, free: 19.98 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.443e-06/4.591, allocations: 0 / 3.032 GB, free: 19.98 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.971e-05/4.591, allocations: 28 kB / 3.032 GB, free: 19.96 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.001998/4.593, allocations: 1.321 MB / 3.034 GB, free: 18.58 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/4.594, allocations: 12.03 kB / 3.034 GB, free: 18.57 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/4.594, allocations: 173.4 kB / 3.034 GB, free: 18.39 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007157/4.601, allocations: 1.344 MB / 3.035 GB, free: 17.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/4.602, allocations: 0.8169 MB / 3.036 GB, free: 16.18 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/4.603, allocations: 94.31 kB / 3.036 GB, free: 16.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/4.603, allocations: 112 kB / 3.036 GB, free: 15.98 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/4.605, allocations: 1.564 MB / 3.038 GB, free: 14.35 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/4.605, allocations: 7.953 kB / 3.038 GB, free: 14.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/4.605, allocations: 48 kB / 3.038 GB, free: 14.29 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/4.605, allocations: 28 kB / 3.038 GB, free: 14.27 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/4.608, allocations: 1.968 MB / 3.04 GB, free: 12.29 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00709/4.615, allocations: 4.371 MB / 3.044 GB, free: 7.84 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/4.617, allocations: 1.876 MB / 3.046 GB, free: 5.926 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009231/4.618, allocations: 0.6959 MB / 3.046 GB, free: 5.23 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/4.619, allocations: 0.61 MB / 3.047 GB, free: 4.488 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/4.62, allocations: 0.9378 MB / 3.048 GB, free: 3.535 MB / 1.167 GB Notification: Performance of pre-optimization done (n=120): time 3.126e-06/4.62, allocations: 0 / 3.048 GB, free: 3.535 MB / 1.167 GB Notification: Performance of matching and sorting (n=120): time 0.002799/4.623, allocations: 1.524 MB / 3.049 GB, free: 1.996 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/4.623, allocations: 244.3 kB / 3.05 GB, free: 1.703 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/4.624, allocations: 0.6953 MB / 3.05 GB, free: 1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/4.624, allocations: 49.64 kB / 3.05 GB, free: 0.9453 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/4.624, allocations: 448.7 kB / 3.051 GB, free: 0.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/4.624, allocations: 402.2 kB / 3.051 GB, free: 104 kB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/4.624, allocations: 19.94 kB / 3.051 GB, free: 84 kB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.5897/5.214, allocations: 346.4 kB / 3.051 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/5.216, allocations: 0.5909 MB / 3.052 GB, free: 394.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/5.217, allocations: 0.7327 MB / 3.053 GB, free: 394.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/5.218, allocations: 0.5926 MB / 3.053 GB, free: 394.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/5.218, allocations: 0.5312 kB / 3.053 GB, free: 394.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003435/5.222, allocations: 1.539 MB / 3.055 GB, free: 394.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/5.222, allocations: 9.828 kB / 3.055 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/5.222, allocations: 0.75 kB / 3.055 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/5.222, allocations: 85.58 kB / 3.055 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/5.225, allocations: 456.7 kB / 3.055 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/5.227, allocations: 1.538 MB / 3.057 GB, free: 392.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/5.229, allocations: 320.5 kB / 3.057 GB, free: 392.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/5.229, allocations: 53.7 kB / 3.057 GB, free: 392.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/5.229, allocations: 168.9 kB / 3.057 GB, free: 392.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/5.229, allocations: 104.5 kB / 3.057 GB, free: 392.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/5.234, allocations: 1.984 MB / 3.059 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/5.234, allocations: 14.02 kB / 3.059 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.234, allocations: 0.75 kB / 3.059 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/5.234, allocations: 6.469 kB / 3.059 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/5.241, allocations: 3.568 MB / 3.063 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/5.241, allocations: 1.812 kB / 3.063 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/5.243, allocations: 462.9 kB / 3.063 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/5.243, allocations: 84.59 kB / 3.063 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/5.244, allocations: 45.12 kB / 3.063 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/5.245, allocations: 1.556 MB / 3.065 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/5.245, allocations: 6.141 kB / 3.065 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/5.249, allocations: 1.738 MB / 3.067 GB, free: 390.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/5.249, allocations: 427.2 kB / 3.067 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/5.25, allocations: 29.47 kB / 3.067 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/5.251, allocations: 284.7 kB / 3.067 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/5.252, allocations: 90.39 kB / 3.068 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/5.252, allocations: 57.11 kB / 3.068 GB, free: 390.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007749/5.253, allocations: 0.5605 MB / 3.068 GB, free: 390.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.22e-07/5.253, allocations: 0 / 3.068 GB, free: 390.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001567/5.254, allocations: 0.5167 MB / 3.069 GB, free: 390.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 (134): * Single equations (assignments): 131 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005612/5.26, allocations: 3.26 MB / 3.072 GB, free: 389.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003016/5.263, allocations: 1.584 MB / 3.073 GB, free: 389.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/5.263, allocations: 1.625 kB / 3.073 GB, free: 389.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/5.264, allocations: 0.9417 MB / 3.074 GB, free: 389.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/5.266, allocations: 260.9 kB / 3.075 GB, free: 389.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/5.271, allocations: 2.355 MB / 3.077 GB, free: 388.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/5.272, allocations: 1.155 MB / 3.078 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00175/5.274, allocations: 468.8 kB / 3.078 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009155/5.275, allocations: 0.4944 MB / 3.079 GB, free: 388.2 MB / 1.167 GB Notification: Performance of SimCode: time 8.11e-07/5.275, allocations: 0 / 3.079 GB, free: 388.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07727/5.352, allocations: 39.96 MB / 3.118 GB, free: 385.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/5.352, allocations: 239.2 kB / 3.118 GB, free: 385.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/8.485, allocations: 0 / 3.118 GB, free: 385.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat