Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure",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.0008916/0.0008916, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.006797/0.006797, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001577/0.001576, allocations: 271.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8303/0.8303, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 13.34 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.003558/0.126, allocations: 3.989 MB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.13, allocations: 3.631 MB / 0.6927 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1302, allocations: 11.88 kB / 0.6927 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1304, allocations: 88.19 kB / 0.6928 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.1312, allocations: 408.4 kB / 0.6932 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.1319, allocations: 488.4 kB / 0.6936 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007302/0.1326, allocations: 1.015 MB / 0.6946 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1329, allocations: 210.3 kB / 0.6948 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.1332, allocations: 358.5 kB / 0.6952 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.1337, allocations: 442 kB / 0.6956 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.1338, allocations: 43.98 kB / 0.6956 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006343/0.1344, allocations: 0.4916 MB / 0.6961 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1346, allocations: 187.2 kB / 0.6963 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.1349, allocations: 419.4 kB / 0.6967 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.1358, allocations: 1.296 MB / 0.698 GB, free: 1.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1358, allocations: 4 kB / 0.698 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1359, allocations: 0 / 0.698 GB, free: 1.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1359, allocations: 0 / 0.698 GB, free: 1.922 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001847/0.1377, allocations: 1.028 MB / 0.699 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.1378, allocations: 8.031 kB / 0.699 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.1379, allocations: 131 kB / 0.6991 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.1407, allocations: 0.6086 MB / 0.6997 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1419, allocations: 0.6671 MB / 0.7003 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.1421, allocations: 313.6 kB / 0.7006 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1423, allocations: 76 kB / 0.7007 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1439, allocations: 1.031 MB / 0.7017 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1439, allocations: 0 / 0.7017 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.144, allocations: 32 kB / 0.7017 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1441, allocations: 19.94 kB / 0.7018 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.1461, allocations: 1.046 MB / 0.7028 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.1501, allocations: 2.975 MB / 0.7057 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.1529, allocations: 1.406 MB / 0.7071 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.1538, allocations: 451.6 kB / 0.7075 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/0.1559, allocations: 2.597 MB / 0.71 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.1569, allocations: 0.5476 MB / 0.7106 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 1.974e-06/0.157, allocations: 0 / 0.7106 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002766/0.1597, allocations: 1.323 MB / 0.7119 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1598, allocations: 123.8 kB / 0.712 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1603, allocations: 0.5068 MB / 0.7125 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.1603, allocations: 45.64 kB / 0.7125 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.1605, allocations: 328.1 kB / 0.7128 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1607, allocations: 291.8 kB / 0.7131 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1608, allocations: 73.67 kB / 0.7132 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.161, allocations: 382.8 kB / 0.7135 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.1618, allocations: 389.7 kB / 0.7139 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/0.1627, allocations: 0.5433 MB / 0.7144 GB, free: 0 / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.1645, allocations: 0.9175 MB / 0.7153 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1645, allocations: 0 / 0.7153 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002114/0.1666, allocations: 1.106 MB / 0.7164 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1667, allocations: 8 kB / 0.7164 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1667, allocations: 4.281 kB / 0.7164 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1667, allocations: 12 kB / 0.7164 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.1678, allocations: 251.6 kB / 0.7167 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1678, allocations: 7.938 kB / 0.7167 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.1686, allocations: 138.9 kB / 0.7168 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.1686, allocations: 47.95 kB / 0.7169 GB, free: 13.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.weatherData.conTim.tNext,$PRE.weaDat.weatherData.conTim.tNext,$whenCondition1,radEast.outsidePolarCircle,radSouth.outsidePolarCircle,radWest.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.1689, allocations: 232.3 kB / 0.7171 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.169, allocations: 67.16 kB / 0.7172 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.1719, allocations: 1.411 MB / 0.7185 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.1719, allocations: 12 kB / 0.7185 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1719, allocations: 3.938 kB / 0.7185 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.172, allocations: 7.969 kB / 0.7186 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.1752, allocations: 2.207 MB / 0.7207 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1752, allocations: 3.938 kB / 0.7207 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.1762, allocations: 239.7 kB / 0.7209 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1762, allocations: 11.94 kB / 0.721 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.1763, allocations: 35.91 kB / 0.721 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1763, allocations: 8 kB / 0.721 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1763, allocations: 0 / 0.721 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.1784, allocations: 1.218 MB / 0.7222 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.1786, allocations: 283.5 kB / 0.7225 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.1788, allocations: 20 kB / 0.7225 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.1795, allocations: 63.94 kB / 0.7225 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1796, allocations: 84.88 kB / 0.7226 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.1797, allocations: 35.98 kB / 0.7226 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003212/0.18, allocations: 350.8 kB / 0.723 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.18, allocations: 0 / 0.723 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006525/0.1807, allocations: 303.6 kB / 0.7233 GB, free: 6.793 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003242/0.1839, allocations: 2.197 MB / 0.7254 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.1858, allocations: 1.016 MB / 0.7264 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1858, allocations: 4 kB / 0.7264 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.1868, allocations: 0.5719 MB / 0.727 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1874, allocations: 115.9 kB / 0.7271 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/0.197, allocations: 7.24 MB / 0.7342 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1974, allocations: 0.9664 MB / 0.7351 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008938/0.1983, allocations: 221.9 kB / 0.7353 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.1988, allocations: 339.3 kB / 0.7356 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1988, allocations: 0 / 0.7356 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.608/2.807, allocations: 17.87 MB / 0.7531 GB, free: 8.449 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.807, allocations: 276.2 kB / 0.7534 GB, free: 8.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/5.782, allocations: 0 / 0.7534 GB, free: 8.09 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Constructions_Shadowing_Examples_Embrasure.fmu > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)