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.0009379/0.0009379, 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.000971/0.000971, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001385/0.001385, allocations: 234 kB / 259.4 MB, free: 13.01 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.7086/0.7086, 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.349e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002363/0.002387, allocations: 1.361 MB / 0.6476 GB, free: 500 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2543/0.2566, allocations: 1.241 MB / 0.6488 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.2567, allocations: 3.062 kB / 0.6488 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2568, allocations: 20 kB / 0.6488 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.2582, allocations: 0.62 MB / 0.6494 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 1.158e-05/0.2582, allocations: 1.969 kB / 0.6495 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.2584, allocations: 103.6 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.2584, allocations: 5.703 kB / 0.6496 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.2586, allocations: 76.62 kB / 0.6496 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2587, allocations: 61.61 kB / 0.6497 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2587, allocations: 7.922 kB / 0.6497 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008473/0.2596, allocations: 0.819 MB / 0.6505 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.2597, allocations: 63.52 kB / 0.6506 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2597, allocations: 37.83 kB / 0.6506 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.2605, allocations: 0.8294 MB / 0.6514 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2605, allocations: 0 / 0.6514 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2605, allocations: 10.09 kB / 0.6514 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2605, allocations: 0 / 0.6514 GB, free: 55.78 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005029/0.261, allocations: 440.7 kB / 0.6518 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2611, allocations: 13.69 kB / 0.6518 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2611, allocations: 48.52 kB / 0.6519 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2613, allocations: 32.59 kB / 0.6519 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2614, allocations: 141.8 kB / 0.6521 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2614, allocations: 11.05 kB / 0.6521 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2615, allocations: 8.328 kB / 0.6521 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2617, allocations: 209 kB / 0.6523 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2617, allocations: 0.7812 kB / 0.6523 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2617, allocations: 7.547 kB / 0.6523 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.534e-05/0.2618, allocations: 45.84 kB / 0.6523 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.262, allocations: 145 kB / 0.6525 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.2626, allocations: 470.6 kB / 0.6529 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2627, allocations: 81.62 kB / 0.653 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.2628, allocations: 52.36 kB / 0.653 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2628, allocations: 0.8125 kB / 0.653 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.2628, allocations: 33.09 kB / 0.6531 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.2628, allocations: 0.5312 kB / 0.6531 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0002833/0.2631, allocations: 188.4 kB / 0.6533 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.2632, allocations: 57.28 kB / 0.6533 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2633, allocations: 234.6 kB / 0.6535 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2633, allocations: 25.7 kB / 0.6536 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.2634, allocations: 136.4 kB / 0.6537 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2634, allocations: 29.7 kB / 0.6537 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.2634, allocations: 29.86 kB / 0.6537 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.2635, allocations: 333.5 kB / 0.6541 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.2635, allocations: 43.67 kB / 0.6541 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.2636, allocations: 75.33 kB / 0.6542 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2638, allocations: 129.2 kB / 0.6543 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2638, allocations: 0 / 0.6543 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001742/0.2639, allocations: 168.7 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2639, allocations: 4.75 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2639, allocations: 1.219 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.264, allocations: 1.344 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.264, allocations: 20.56 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.264, allocations: 3.266 kB / 0.6545 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.2641, allocations: 17.81 kB / 0.6545 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.2641, allocations: 14.94 kB / 0.6545 GB, free: 53.81 MB / 0.5573 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 6.721e-05/0.2642, allocations: 133.4 kB / 0.6546 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.2642, allocations: 16.64 kB / 0.6547 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2644, allocations: 179.2 kB / 0.6548 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.2644, allocations: 6.281 kB / 0.6548 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2644, allocations: 2.562 kB / 0.6548 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2644, allocations: 3.984 kB / 0.6548 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2646, allocations: 199.9 kB / 0.655 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2646, allocations: 1.375 kB / 0.655 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.2647, allocations: 12.53 kB / 0.655 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2647, allocations: 0 / 0.655 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2647, allocations: 8.594 kB / 0.6551 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2647, allocations: 0 / 0.6551 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2647, allocations: 0 / 0.6551 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2649, allocations: 253.3 kB / 0.6553 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.2649, allocations: 23.06 kB / 0.6553 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2649, allocations: 0 / 0.6553 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.2649, allocations: 4.062 kB / 0.6553 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.265, allocations: 12.38 kB / 0.6553 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.265, allocations: 11.72 kB / 0.6553 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001089/0.2651, allocations: 178.3 kB / 0.6555 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2651, allocations: 0 / 0.6555 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006453/0.2657, allocations: 221.4 kB / 0.6557 GB, free: 53.12 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 (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.0006363/0.2664, allocations: 0.9462 MB / 0.6567 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2666, allocations: 125.9 kB / 0.6568 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2666, allocations: 0 / 0.6568 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.2666, allocations: 76.95 kB / 0.6568 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.2668, allocations: 12.41 kB / 0.6569 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2685, allocations: 2.35 MB / 0.6592 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.978e-05/0.2685, allocations: 123.3 kB / 0.6593 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.2687, allocations: 37.81 kB / 0.6593 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.2688, allocations: 56.06 kB / 0.6594 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2688, allocations: 0.625 kB / 0.6594 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2898, allocations: 6.492 MB / 0.6657 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.863, allocations: 11.14 kB / 0.6657 GB, free: 49.77 MB / 0.5573 GB " [Timeout remaining time 653] (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: 20.128421644680202] Failed to read output from testmodel.py, exit status != 0: 6.947624569758773 6.958134216 6.695576505 Calling exit ...