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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003954/0.003954, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 196.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.466/2.466, allocations: 482.6 MB / 0.755 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 65.03 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2642, allocations: 162.3 MB / 1.242 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00684/0.2711, allocations: 5.843 MB / 1.248 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.4228, allocations: 151.3 MB / 1.395 GB, free: 11.08 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.4236, allocations: 19.94 kB / 1.395 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.4242, allocations: 221.9 kB / 1.396 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.4257, allocations: 0.6628 MB / 1.396 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4275, allocations: 0.9725 MB / 1.397 GB, free: 9.215 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.4292, allocations: 1.909 MB / 1.399 GB, free: 7.297 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.4302, allocations: 0.7755 MB / 1.4 GB, free: 6.48 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.4308, allocations: 0.6697 MB / 1.4 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.4316, allocations: 0.7354 MB / 1.401 GB, free: 5.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.4318, allocations: 175.9 kB / 1.401 GB, free: 4.898 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009748/0.4328, allocations: 0.6323 MB / 1.402 GB, free: 4.266 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.4332, allocations: 442.7 kB / 1.402 GB, free: 3.832 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.4338, allocations: 0.7735 MB / 1.403 GB, free: 3.055 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.436, allocations: 2.222 MB / 1.405 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.436, allocations: 0 / 1.405 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.062e-06/0.436, allocations: 0 / 1.405 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.436, allocations: 0 / 1.405 GB, free: 0.8242 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002948/0.439, allocations: 1.87 MB / 1.407 GB, free: 14.89 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.439, allocations: 8.031 kB / 1.407 GB, free: 14.88 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.4392, allocations: 190 kB / 1.407 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008413/0.4477, allocations: 1.279 MB / 1.409 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.4491, allocations: 0.9814 MB / 1.41 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.836e-05/0.4491, allocations: 94.44 kB / 1.41 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.4493, allocations: 120 kB / 1.41 GB, free: 12.17 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.4541, allocations: 2.034 MB / 1.412 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.4541, allocations: 7.938 kB / 1.412 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.4543, allocations: 48 kB / 1.412 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.4543, allocations: 32 kB / 1.412 GB, free: 9.977 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.4617, allocations: 2.764 MB / 1.414 GB, free: 7.203 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007848/0.4695, allocations: 4.81 MB / 1.419 GB, free: 2.23 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007864/0.4774, allocations: 2.744 MB / 1.422 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.4805, allocations: 1.04 MB / 1.423 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.4811, allocations: 0.6102 MB / 1.423 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.4846, allocations: 1.355 MB / 1.425 GB, free: 12.3 MB / 1.154 GB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.4846, allocations: 3.938 kB / 1.425 GB, free: 12.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=132): time 0.0108/0.4954, allocations: 3.387 MB / 1.428 GB, free: 8.887 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4956, allocations: 193.2 kB / 1.428 GB, free: 8.652 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.4965, allocations: 0.7668 MB / 1.429 GB, free: 7.875 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.4966, allocations: 53.7 kB / 1.429 GB, free: 7.816 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.497, allocations: 497.6 kB / 1.43 GB, free: 7.324 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.4974, allocations: 456.1 kB / 1.43 GB, free: 6.875 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.4978, allocations: 250.8 kB / 1.43 GB, free: 6.625 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.498, allocations: 349.9 kB / 1.431 GB, free: 6.277 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/0.501, allocations: 0.9509 MB / 1.431 GB, free: 5.324 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.5042, allocations: 1.089 MB / 1.433 GB, free: 4.207 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/0.5101, allocations: 1.899 MB / 1.434 GB, free: 2.289 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5101, allocations: 0 / 1.434 GB, free: 2.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007049/0.5171, allocations: 2.277 MB / 1.437 GB, free: 0 / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.5172, allocations: 8.047 kB / 1.437 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5172, allocations: 3.938 kB / 1.437 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.5178, allocations: 84.84 kB / 1.437 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.5199, allocations: 423.3 kB / 1.437 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.522, allocations: 1.645 MB / 1.439 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.524, allocations: 290.9 kB / 1.439 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5241, allocations: 59.94 kB / 1.439 GB, free: 13.36 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005983/0.5247, allocations: 327.3 kB / 1.439 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.525, allocations: 115.2 kB / 1.439 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/0.533, allocations: 2.731 MB / 1.442 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.533, allocations: 12 kB / 1.442 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.533, allocations: 0 / 1.442 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.533, allocations: 7.969 kB / 1.442 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009629/0.5427, allocations: 4.315 MB / 1.446 GB, free: 5.762 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5427, allocations: 0 / 1.446 GB, free: 5.762 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/0.5448, allocations: 415.3 kB / 1.447 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.5452, allocations: 68.78 kB / 1.447 GB, free: 5.285 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.5454, allocations: 55.94 kB / 1.447 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5472, allocations: 1.674 MB / 1.449 GB, free: 3.406 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5472, allocations: 4.031 kB / 1.449 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007217/0.5545, allocations: 2.494 MB / 1.451 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.5551, allocations: 439.7 kB / 1.451 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.5553, allocations: 28 kB / 1.451 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.5572, allocations: 227.7 kB / 1.452 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.5574, allocations: 109.1 kB / 1.452 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.5576, allocations: 59.94 kB / 1.452 GB, free: 20 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007123/0.5583, allocations: 0.5576 MB / 1.452 GB, free: 15.46 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5583, allocations: 0 / 1.452 GB, free: 15.46 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001128/0.5594, allocations: 499 kB / 1.453 GB, free: 14.98 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009255/0.5687, allocations: 3.597 MB / 1.456 GB, free: 11.54 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006774/0.5755, allocations: 2.32 MB / 1.459 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5755, allocations: 0 / 1.459 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/0.579, allocations: 1.31 MB / 1.46 GB, free: 7.879 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5803, allocations: 340.7 kB / 1.46 GB, free: 7.566 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.6073, allocations: 12.03 MB / 1.472 GB, free: 11.37 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.6081, allocations: 1.167 MB / 1.473 GB, free: 10.18 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001515/0.6097, allocations: 481.2 kB / 1.474 GB, free: 9.703 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/0.6106, allocations: 0.5421 MB / 1.474 GB, free: 9.164 MB / 1.201 GB Notification: Performance of SimCode: time 3.6e-07/0.6106, allocations: 0 / 1.474 GB, free: 9.164 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.021/4.632, allocations: 31.66 MB / 1.505 GB, free: 9.828 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/18.08, allocations: 9.875 kB / 1.505 GB, free: 9.82 MB / 1.232 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)