Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.001276/0.001276, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.00148/0.00148, allocations: 221.7 kB / 22.26 MB, free: 5.211 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.984 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.002455/0.002455, allocations: 291.3 kB / 312.7 MB, free: 2.812 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.201/1.201, allocations: 180.6 MB / 0.5369 GB, free: 12.9 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.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",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.002803/0.002803, allocations: 96.98 kB / 0.7396 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.181, allocations: 95.39 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002473/0.1835, allocations: 1.403 MB / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1858, allocations: 1.413 MB / 0.8355 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1858, allocations: 8 kB / 0.8355 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1859, allocations: 19.84 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1874, allocations: 0.6516 MB / 0.8362 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.061e-05/0.1874, allocations: 0 / 0.8362 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1876, allocations: 127.6 kB / 0.8363 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.1876, allocations: 7.984 kB / 0.8363 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1878, allocations: 67.75 kB / 0.8364 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1879, allocations: 87.64 kB / 0.8364 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.188, allocations: 4 kB / 0.8364 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.189, allocations: 0.8852 MB / 0.8373 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.1891, allocations: 59.81 kB / 0.8374 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.1892, allocations: 71.47 kB / 0.8374 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.1901, allocations: 0.7327 MB / 0.8381 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1901, allocations: 0 / 0.8381 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1901, allocations: 0 / 0.8381 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.1901, allocations: 0 / 0.8381 GB, free: 3.062 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006427/0.1908, allocations: 464.5 kB / 0.8386 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1908, allocations: 8.75 kB / 0.8386 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.1909, allocations: 58.66 kB / 0.8387 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/0.1914, allocations: 44.77 kB / 0.8387 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1916, allocations: 157 kB / 0.8388 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1916, allocations: 12.36 kB / 0.8389 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1916, allocations: 8.359 kB / 0.8389 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.192, allocations: 229.6 kB / 0.8391 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.192, allocations: 0 / 0.8391 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.192, allocations: 8 kB / 0.8391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/0.1921, allocations: 55.95 kB / 0.8391 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.1923, allocations: 164.2 kB / 0.8393 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.1933, allocations: 0.5129 MB / 0.8398 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1935, allocations: 74.59 kB / 0.8399 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.1936, allocations: 48.83 kB / 0.8399 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1936, allocations: 3.938 kB / 0.8399 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1936, allocations: 38.5 kB / 0.84 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.1936, allocations: 0 / 0.84 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003733/0.194, allocations: 177.5 kB / 0.8401 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1941, allocations: 51.41 kB / 0.8402 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1943, allocations: 249.2 kB / 0.8404 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1943, allocations: 25.7 kB / 0.8404 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1945, allocations: 144.1 kB / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1945, allocations: 27.75 kB / 0.8406 GB, free: 388 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.1946, allocations: 37.69 kB / 0.8406 GB, free: 344 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1947, allocations: 334.8 kB / 0.841 GB, free: 0 / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.1948, allocations: 43.97 kB / 0.841 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1949, allocations: 88.69 kB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1951, allocations: 144.1 kB / 0.8412 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1951, allocations: 4 kB / 0.8412 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002841/0.1954, allocations: 181.3 kB / 0.8414 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1954, allocations: 7.938 kB / 0.8414 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1954, allocations: 0 / 0.8414 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1955, allocations: 8.125 kB / 0.8414 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1956, allocations: 23.98 kB / 0.8414 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1956, allocations: 0 / 0.8414 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1957, allocations: 19.78 kB / 0.8415 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1957, allocations: 11.98 kB / 0.8415 GB, free: 15.44 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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.0001361/0.1959, allocations: 142.4 kB / 0.8416 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.1959, allocations: 19.84 kB / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1962, allocations: 170.9 kB / 0.8418 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.1963, allocations: 8 kB / 0.8418 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1963, allocations: 0 / 0.8418 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1963, allocations: 0 / 0.8418 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1966, allocations: 216.5 kB / 0.842 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1966, allocations: 3.938 kB / 0.842 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.1967, allocations: 16 kB / 0.842 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1967, allocations: 0 / 0.842 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1967, allocations: 7.984 kB / 0.842 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1967, allocations: 0 / 0.842 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1967, allocations: 3.938 kB / 0.842 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.197, allocations: 259.3 kB / 0.8423 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.197, allocations: 19.84 kB / 0.8423 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.197, allocations: 4.062 kB / 0.8423 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1971, allocations: 4 kB / 0.8423 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1972, allocations: 7.984 kB / 0.8423 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1972, allocations: 11.98 kB / 0.8423 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001721/0.1974, allocations: 181.2 kB / 0.8425 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1974, allocations: 4 kB / 0.8425 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006173/0.198, allocations: 223.6 kB / 0.8427 GB, free: 14.08 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.00104/0.199, allocations: 0.9266 MB / 0.8436 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.1994, allocations: 124 kB / 0.8437 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1994, allocations: 4.062 kB / 0.8437 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.1995, allocations: 63.89 kB / 0.8438 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1997, allocations: 8.781 kB / 0.8438 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.2025, allocations: 2.416 MB / 0.8462 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.203, allocations: 0.7435 MB / 0.8469 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.833e-05/0.203, allocations: 41.41 kB / 0.8469 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2032, allocations: 63.41 kB / 0.847 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.2032, allocations: 384 / 0.847 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.2384, allocations: 6.261 MB / 0.8531 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.55, allocations: 16.22 kB / 0.8531 GB, free: 3.43 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces_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_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.249973932001012] Failed to read output from testmodel.py, exit status != 0: 10.652176849998796 10.680532272 10.485242046 Calling exit ...