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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 101.9 kB / 19.73 MB, free: 1.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 209.8 kB / 23.03 MB, free: 4.43 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002622/0.002622, allocations: 284.7 kB / 313.5 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.272/1.272, allocations: 180.6 MB / 0.5377 GB, free: 14.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 96.83 kB / 0.7403 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1636, allocations: 95.39 MB / 0.8334 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002787/0.1664, allocations: 1.345 MB / 0.8347 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1686, allocations: 1.254 MB / 0.836 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.1687, allocations: 0 / 0.836 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1688, allocations: 23.84 kB / 0.836 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1704, allocations: 0.6204 MB / 0.8366 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.579e-05/0.1704, allocations: 7.984 kB / 0.8366 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1705, allocations: 103.7 kB / 0.8367 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1706, allocations: 240 / 0.8367 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1708, allocations: 59.75 kB / 0.8367 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1709, allocations: 67.78 kB / 0.8368 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1709, allocations: 4 kB / 0.8368 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.1722, allocations: 0.8735 MB / 0.8377 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1723, allocations: 67.8 kB / 0.8377 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.1724, allocations: 51.66 kB / 0.8378 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1734, allocations: 0.721 MB / 0.8385 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1734, allocations: 4 kB / 0.8385 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1734, allocations: 4 kB / 0.8385 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1734, allocations: 0 / 0.8385 GB, free: 3.16 MB / 0.5762 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.0007103/0.1741, allocations: 439.2 kB / 0.8389 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1742, allocations: 8.75 kB / 0.8389 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.1742, allocations: 8.188 kB / 0.8389 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1743, allocations: 46.72 kB / 0.839 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.1745, allocations: 32.78 kB / 0.839 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1748, allocations: 146.3 kB / 0.8391 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1748, allocations: 12.36 kB / 0.8392 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1748, allocations: 4.375 kB / 0.8392 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1751, allocations: 226.9 kB / 0.8394 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1751, allocations: 0 / 0.8394 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1752, allocations: 3.984 kB / 0.8394 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.1753, allocations: 47.95 kB / 0.8394 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.1755, allocations: 141.4 kB / 0.8396 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.1763, allocations: 459.8 kB / 0.84 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1766, allocations: 86.45 kB / 0.8401 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.1767, allocations: 52.89 kB / 0.8401 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1767, allocations: 0 / 0.8401 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1767, allocations: 30.56 kB / 0.8402 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1767, allocations: 0 / 0.8402 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003808/0.1771, allocations: 193.4 kB / 0.8403 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1771, allocations: 55.34 kB / 0.8404 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1774, allocations: 240 kB / 0.8406 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1774, allocations: 25.7 kB / 0.8406 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1775, allocations: 132.2 kB / 0.8408 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1775, allocations: 35.73 kB / 0.8408 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1776, allocations: 29.7 kB / 0.8408 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1777, allocations: 326.8 kB / 0.8411 GB, free: 260 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.1778, allocations: 43.95 kB / 0.8412 GB, free: 216 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.1779, allocations: 71.45 kB / 0.8413 GB, free: 132 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1781, allocations: 131.3 kB / 0.8414 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1781, allocations: 0 / 0.8414 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002767/0.1784, allocations: 177.4 kB / 0.8416 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1784, allocations: 4 kB / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1784, allocations: 0 / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1784, allocations: 4 kB / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.1785, allocations: 15.94 kB / 0.8416 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1786, allocations: 7.922 kB / 0.8416 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.1786, allocations: 19.78 kB / 0.8416 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1787, allocations: 12.36 kB / 0.8416 GB, free: 15.75 MB / 0.5919 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.000131/0.1788, allocations: 137.8 kB / 0.8417 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.1788, allocations: 15.91 kB / 0.8418 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.1791, allocations: 178.9 kB / 0.8419 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.1792, allocations: 7.938 kB / 0.8419 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1792, allocations: 0 / 0.8419 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1792, allocations: 3.984 kB / 0.8419 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.1795, allocations: 184.7 kB / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.1795, allocations: 3.984 kB / 0.8421 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.1796, allocations: 16 kB / 0.8421 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1796, allocations: 0 / 0.8421 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1796, allocations: 4 kB / 0.8421 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1796, allocations: 3.938 kB / 0.8421 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1796, allocations: 4 kB / 0.8421 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1799, allocations: 263.2 kB / 0.8424 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.1799, allocations: 11.91 kB / 0.8424 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.18, allocations: 11.97 kB / 0.8424 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.1801, allocations: 3.938 kB / 0.8424 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1801, allocations: 11.98 kB / 0.8424 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1801, allocations: 4 kB / 0.8424 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001693/0.1803, allocations: 175.3 kB / 0.8426 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1803, allocations: 0 / 0.8426 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005862/0.1809, allocations: 219.6 kB / 0.8428 GB, free: 14.43 MB / 0.5919 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.001106/0.182, allocations: 0.9306 MB / 0.8437 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1822, allocations: 123.8 kB / 0.8438 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1822, allocations: 0 / 0.8438 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1823, allocations: 71.94 kB / 0.8439 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1826, allocations: 15.94 kB / 0.8439 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1854, allocations: 2.322 MB / 0.8462 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1855, allocations: 127.4 kB / 0.8463 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.1857, allocations: 44.94 kB / 0.8464 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1858, allocations: 59.41 kB / 0.8464 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.1858, allocations: 0 / 0.8464 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.2128, allocations: 6.019 MB / 0.8523 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 6.406 kB / 0.8523 GB, free: 4.789 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 41.69701408490073] Failed to read output from testmodel.py, exit status != 0: 11.664491747971624 11.689252594 11.511236307 Calling exit ...