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.001284/0.001284, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001427/0.001427, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.801 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.002499/0.002499, allocations: 294.1 kB / 312.7 MB, free: 2.633 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.193/1.193, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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="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: 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.004724/0.004724, allocations: 109.5 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2275, allocations: 95.38 MB / 0.8327 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.00288/0.2304, allocations: 1.351 MB / 0.834 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.2328, allocations: 1.258 MB / 0.8352 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2329, allocations: 0 / 0.8352 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.233, allocations: 23.84 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.2346, allocations: 0.6048 MB / 0.8358 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.291e-05/0.2346, allocations: 0 / 0.8358 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2348, allocations: 103.6 kB / 0.8359 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.2348, allocations: 4.234 kB / 0.8359 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.2351, allocations: 59.81 kB / 0.836 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2352, allocations: 63.72 kB / 0.836 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2352, allocations: 12 kB / 0.836 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2365, allocations: 0.8188 MB / 0.8368 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2366, allocations: 59.81 kB / 0.8369 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.2367, allocations: 39.67 kB / 0.8369 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2378, allocations: 0.7249 MB / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2379, allocations: 0 / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2379, allocations: 0 / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.2379, allocations: 0 / 0.8376 GB, free: 3.219 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.0007523/0.2386, allocations: 440.7 kB / 0.8381 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2387, allocations: 12.75 kB / 0.8381 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.2387, allocations: 46.72 kB / 0.8381 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.239, allocations: 36.78 kB / 0.8382 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.2393, allocations: 142.3 kB / 0.8383 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2393, allocations: 12.36 kB / 0.8383 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2393, allocations: 8.359 kB / 0.8383 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.2396, allocations: 215.1 kB / 0.8385 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2396, allocations: 0 / 0.8385 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2397, allocations: 3.984 kB / 0.8385 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.2397, allocations: 43.95 kB / 0.8386 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.24, allocations: 144.2 kB / 0.8387 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.2409, allocations: 471.8 kB / 0.8392 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.2411, allocations: 78.58 kB / 0.8392 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.2412, allocations: 52.77 kB / 0.8393 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2413, allocations: 4 kB / 0.8393 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2413, allocations: 30.56 kB / 0.8393 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2413, allocations: 0 / 0.8393 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0004015/0.2417, allocations: 189.7 kB / 0.8395 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2417, allocations: 59.28 kB / 0.8395 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.242, allocations: 232 kB / 0.8398 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.242, allocations: 33.7 kB / 0.8398 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2421, allocations: 136.1 kB / 0.8399 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.2421, allocations: 27.75 kB / 0.84 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.2422, allocations: 29.69 kB / 0.84 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2424, allocations: 334.8 kB / 0.8403 GB, free: 316 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.2424, allocations: 39.97 kB / 0.8403 GB, free: 276 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2425, allocations: 75.33 kB / 0.8404 GB, free: 188 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2428, allocations: 131.3 kB / 0.8405 GB, free: 44 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2428, allocations: 4 kB / 0.8405 GB, free: 40 kB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002913/0.2431, allocations: 165.5 kB / 0.8407 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2431, allocations: 4 kB / 0.8407 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2431, allocations: 0 / 0.8407 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2431, allocations: 4 kB / 0.8407 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.2432, allocations: 15.98 kB / 0.8407 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2432, allocations: 3.938 kB / 0.8407 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.2433, allocations: 15.97 kB / 0.8407 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2433, allocations: 15.98 kB / 0.8408 GB, free: 15.81 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.0001371/0.2434, allocations: 145.8 kB / 0.8409 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.2435, allocations: 15.91 kB / 0.8409 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.2438, allocations: 166.8 kB / 0.8411 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.2438, allocations: 4 kB / 0.8411 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2438, allocations: 3.938 kB / 0.8411 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2438, allocations: 192 / 0.8411 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.2441, allocations: 196.6 kB / 0.8413 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2441, allocations: 3.938 kB / 0.8413 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.2442, allocations: 19.98 kB / 0.8413 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2442, allocations: 4 kB / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2442, allocations: 7.984 kB / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2442, allocations: 0 / 0.8413 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.2442, allocations: 3.938 kB / 0.8413 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.2445, allocations: 255.2 kB / 0.8415 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2446, allocations: 19.84 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.2446, allocations: 4 kB / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.2447, allocations: 0 / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2447, allocations: 15.92 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2447, allocations: 7.984 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001784/0.2449, allocations: 175.3 kB / 0.8418 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2449, allocations: 4 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005881/0.2455, allocations: 211.7 kB / 0.842 GB, free: 14.5 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.001147/0.2466, allocations: 0.9267 MB / 0.8429 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.2469, allocations: 127.8 kB / 0.843 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2469, allocations: 0 / 0.843 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.247, allocations: 71.94 kB / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.2473, allocations: 15.94 kB / 0.8431 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.2501, allocations: 2.326 MB / 0.8453 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2503, allocations: 123.2 kB / 0.8455 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.2504, allocations: 45.38 kB / 0.8455 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2505, allocations: 51.42 kB / 0.8456 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.2505, allocations: 0 / 0.8456 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.2868, allocations: 6.337 MB / 0.8517 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.47, allocations: 7.781 kB / 0.8518 GB, free: 4.527 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: 29.12090376438573] Failed to read output from testmodel.py, exit status != 0: 11.583359077107161 11.610310769 11.367448314 Calling exit ...