Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.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.0008107/0.0008107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009066/0.0009066, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9279/0.9279, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001599/0.001599, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.681/0.681, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_RectangularCuboidSurfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.259e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.001723/0.001745, allocations: 1.397 MB / 0.6476 GB, free: 492 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2378/0.2395, allocations: 1.194 MB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.2396, allocations: 1.406 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.2397, allocations: 18.92 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.2413, allocations: 0.6256 MB / 0.6494 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-05/0.2413, allocations: 5.516 kB / 0.6494 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.2416, allocations: 166.6 kB / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.2417, allocations: 10.77 kB / 0.6496 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2418, allocations: 99.45 kB / 0.6497 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2419, allocations: 102.7 kB / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.242, allocations: 9.781 kB / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.2429, allocations: 0.8167 MB / 0.6506 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.243, allocations: 122.2 kB / 0.6507 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.2431, allocations: 57.33 kB / 0.6508 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009085/0.244, allocations: 0.9606 MB / 0.6517 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.244, allocations: 3.781 kB / 0.6517 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.285e-06/0.244, allocations: 0 / 0.6517 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.244, allocations: 0 / 0.6517 GB, free: 55.57 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.000669/0.2447, allocations: 0.5995 MB / 0.6523 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2447, allocations: 14.7 kB / 0.6523 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.2448, allocations: 79.47 kB / 0.6524 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.2448, allocations: 40.48 kB / 0.6524 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.245, allocations: 191.3 kB / 0.6526 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.245, allocations: 8.531 kB / 0.6526 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.245, allocations: 16.61 kB / 0.6526 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.2456, allocations: 0.6349 MB / 0.6533 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2456, allocations: 0.75 kB / 0.6533 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2456, allocations: 8.453 kB / 0.6533 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.2457, allocations: 135.5 kB / 0.6534 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.2461, allocations: 0.5229 MB / 0.6539 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2476, allocations: 0.977 MB / 0.6549 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2478, allocations: 273.1 kB / 0.6551 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.248, allocations: 261.3 kB / 0.6554 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.248, allocations: 7.5 kB / 0.6554 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.248, allocations: 30.56 kB / 0.6554 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.248, allocations: 0 / 0.6554 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.0008015/0.2488, allocations: 0.9379 MB / 0.6563 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2488, allocations: 87.2 kB / 0.6564 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.2491, allocations: 400.2 kB / 0.6568 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2491, allocations: 30.8 kB / 0.6568 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.2492, allocations: 196.5 kB / 0.657 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.2492, allocations: 148.1 kB / 0.6572 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.2493, allocations: 48.78 kB / 0.6572 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2494, allocations: 353.2 kB / 0.6575 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2495, allocations: 258.8 kB / 0.6578 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.2497, allocations: 311 kB / 0.6581 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.2501, allocations: 0.6717 MB / 0.6587 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2501, allocations: 4.25 kB / 0.6587 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000505/0.2507, allocations: 0.7046 MB / 0.6594 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.2507, allocations: 42.3 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2507, allocations: 2 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2507, allocations: 4.188 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.2508, allocations: 12.48 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2508, allocations: 1.062 kB / 0.6595 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.2509, allocations: 39.12 kB / 0.6595 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2509, allocations: 17.52 kB / 0.6595 GB, free: 51.65 MB / 0.5573 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 (7): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 1 * 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.0001445/0.251, allocations: 221.2 kB / 0.6598 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.2511, allocations: 41.78 kB / 0.6598 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.2511, allocations: 36.39 kB / 0.6598 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/0.2511, allocations: 27.06 kB / 0.6599 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2511, allocations: 0 / 0.6599 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2511, allocations: 1.75 kB / 0.6599 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.2518, allocations: 361.3 kB / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2518, allocations: 0 / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.2518, allocations: 8.641 kB / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2518, allocations: 2.094 kB / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2518, allocations: 6.094 kB / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2518, allocations: 0 / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2518, allocations: 2.156 kB / 0.6602 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.2523, allocations: 0.7538 MB / 0.661 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2523, allocations: 50.44 kB / 0.661 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2524, allocations: 2.469 kB / 0.661 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.2524, allocations: 5.125 kB / 0.661 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2524, allocations: 8.391 kB / 0.661 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2525, allocations: 21.19 kB / 0.661 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000182/0.2526, allocations: 287.1 kB / 0.6613 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2526, allocations: 1.969 kB / 0.6613 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007528/0.2534, allocations: 248.1 kB / 0.6616 GB, free: 50.7 MB / 0.5573 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 (3): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 1 * 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.001008/0.2544, allocations: 1.462 MB / 0.663 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.2549, allocations: 0.6345 MB / 0.6636 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2549, allocations: 1.344 kB / 0.6636 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.2551, allocations: 347 kB / 0.6639 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2553, allocations: 19.66 kB / 0.664 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.2588, allocations: 5.174 MB / 0.669 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.259, allocations: 228.2 kB / 0.6692 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.2591, allocations: 70.56 kB / 0.6693 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.2592, allocations: 116.7 kB / 0.6694 GB, free: 46.63 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/0.2592, allocations: 0 / 0.6694 GB, free: 46.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2826, allocations: 9.324 MB / 0.6785 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/7.094, allocations: 4.453 kB / 0.6785 GB, free: 45.51 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces_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_RectangularCuboidSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 60.00843943003565] Failed to read output from testmodel.py, exit status != 0: 7.181356254965067 7.19122991 6.944524219 Calling exit ...