Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",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.004632/0.004632, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00129/0.00129, allocations: 197.1 kB / 16.68 MB, free: 5.934 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 99.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1553, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002336/0.1577, allocations: 1.35 MB / 0.7672 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1598, allocations: 1.322 MB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.1598, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.271e-05/0.16, allocations: 19.91 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.1612, allocations: 0.5831 MB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.247e-06/0.1612, allocations: 3.938 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1614, allocations: 103.7 kB / 0.7692 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1615, allocations: 4.234 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.1616, allocations: 55.77 kB / 0.7693 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1617, allocations: 63.73 kB / 0.7693 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1617, allocations: 4 kB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009362/0.1627, allocations: 0.7097 MB / 0.77 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.1628, allocations: 64.39 kB / 0.7701 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.1628, allocations: 55.55 kB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.1637, allocations: 0.6821 MB / 0.7708 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1637, allocations: 0 / 0.7708 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1637, allocations: 3.938 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1637, allocations: 0 / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006356/0.1644, allocations: 0.5057 MB / 0.7713 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1644, allocations: 8.031 kB / 0.7713 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.1645, allocations: 42.73 kB / 0.7713 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1645, allocations: 16.84 kB / 0.7714 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1647, allocations: 214.4 kB / 0.7716 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1648, allocations: 8.359 kB / 0.7716 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1648, allocations: 8.359 kB / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1651, allocations: 203.2 kB / 0.7718 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1651, allocations: 3.938 kB / 0.7718 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1651, allocations: 7.984 kB / 0.7718 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.1652, allocations: 47.95 kB / 0.7718 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1655, allocations: 144.8 kB / 0.772 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.1663, allocations: 0.5045 MB / 0.7725 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1666, allocations: 86.58 kB / 0.7725 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.1667, allocations: 52.83 kB / 0.7726 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1667, allocations: 0 / 0.7726 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1667, allocations: 34.5 kB / 0.7726 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1667, allocations: 4 kB / 0.7726 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003744/0.1671, allocations: 193.4 kB / 0.7728 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1672, allocations: 59.28 kB / 0.7729 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1674, allocations: 235.1 kB / 0.7731 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1674, allocations: 29.64 kB / 0.7731 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.1675, allocations: 128.2 kB / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1676, allocations: 31.73 kB / 0.7733 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.1677, allocations: 33.66 kB / 0.7733 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1678, allocations: 334.8 kB / 0.7736 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.1679, allocations: 39.97 kB / 0.7737 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.168, allocations: 71.39 kB / 0.7737 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.1682, allocations: 131.3 kB / 0.7739 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1682, allocations: 4 kB / 0.7739 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002549/0.1685, allocations: 161.4 kB / 0.774 GB, free: 372 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1685, allocations: 8 kB / 0.774 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1685, allocations: 0 / 0.774 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1685, allocations: 0 / 0.774 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1687, allocations: 19.98 kB / 0.774 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1687, allocations: 7.938 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.1688, allocations: 15.83 kB / 0.7741 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1688, allocations: 8 kB / 0.7741 GB, free: 312 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001158/0.1689, allocations: 141.8 kB / 0.7742 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.169, allocations: 12.28 kB / 0.7742 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.277/0.446, allocations: 168 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/0.446, allocations: 7.031 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4461, allocations: 4.734 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4461, allocations: 1.016 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.4464, allocations: 223.9 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4464, allocations: 0 / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4465, allocations: 21.42 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4465, allocations: 1.062 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4465, allocations: 6.078 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.664e-06/0.4466, allocations: 0.625 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4466, allocations: 1.281 kB / 0.7746 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.4468, allocations: 256.2 kB / 0.7749 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.4469, allocations: 105.6 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.4469, allocations: 4.781 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.447, allocations: 1.188 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.4471, allocations: 6.719 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4471, allocations: 10.31 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001451/0.4472, allocations: 177.3 kB / 0.7752 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4472, allocations: 3.75 kB / 0.7752 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006191/0.4479, allocations: 210.8 kB / 0.7754 GB, free: 14.28 MB / 0.5606 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007609/0.4486, allocations: 0.9355 MB / 0.7763 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.4489, allocations: 132.3 kB / 0.7764 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4489, allocations: 0.8438 kB / 0.7764 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.449, allocations: 75.11 kB / 0.7765 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.4493, allocations: 17.22 kB / 0.7765 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4514, allocations: 2.311 MB / 0.7788 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.4516, allocations: 0.7443 MB / 0.7795 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000154/0.4518, allocations: 38.72 kB / 0.7795 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.4519, allocations: 52.8 kB / 0.7796 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.4519, allocations: 0 / 0.7796 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.4804, allocations: 5.805 MB / 0.7852 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.643, allocations: 13.72 kB / 0.7853 GB, free: 11.19 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)