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.00167/0.00167, allocations: 116.1 kB / 17.17 MB, free: 6 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.002181/0.002181, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002359/0.002359, allocations: 288.6 kB / 309.8 MB, free: 3.496 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.024/1.024, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.003011/0.003011, allocations: 99.84 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5082, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002165/0.5104, allocations: 1.379 MB / 0.8291 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.5123, allocations: 1.409 MB / 0.8305 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.5123, allocations: 0 / 0.8305 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.5124, allocations: 13.2 kB / 0.8305 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.5137, allocations: 0.5929 MB / 0.8311 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.116e-05/0.5138, allocations: 0 / 0.8311 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.5139, allocations: 101.6 kB / 0.8312 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.5139, allocations: 7.766 kB / 0.8312 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.5141, allocations: 60.47 kB / 0.8313 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.5142, allocations: 74.89 kB / 0.8313 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.5142, allocations: 3.812 kB / 0.8313 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008965/0.5151, allocations: 0.7323 MB / 0.832 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.5152, allocations: 64.64 kB / 0.8321 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.5153, allocations: 54.23 kB / 0.8322 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.5161, allocations: 0.6847 MB / 0.8328 GB, free: 460 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5161, allocations: 4 kB / 0.8328 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5161, allocations: 0 / 0.8328 GB, free: 456 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5161, allocations: 0 / 0.8328 GB, free: 456 kB / 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.000579/0.5167, allocations: 0.5187 MB / 0.8333 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5167, allocations: 9.188 kB / 0.8333 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.362e-05/0.5167, allocations: 3.062 kB / 0.8333 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.5168, allocations: 52.95 kB / 0.8334 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.517, allocations: 33.95 kB / 0.8334 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.5172, allocations: 197.5 kB / 0.8336 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5173, allocations: 7.016 kB / 0.8336 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5173, allocations: 9.719 kB / 0.8336 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.5176, allocations: 209 kB / 0.8338 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5176, allocations: 0 / 0.8338 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.5176, allocations: 6.609 kB / 0.8338 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-05/0.5177, allocations: 44.03 kB / 0.8339 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.5179, allocations: 144.6 kB / 0.834 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.5187, allocations: 0.5001 MB / 0.8345 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.519, allocations: 80.89 kB / 0.8346 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.519, allocations: 48.28 kB / 0.8346 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.5191, allocations: 0 / 0.8346 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5191, allocations: 35.22 kB / 0.8347 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.5191, allocations: 4 kB / 0.8347 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0003655/0.5195, allocations: 189.6 kB / 0.8348 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5195, allocations: 55.34 kB / 0.8349 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.5198, allocations: 239.2 kB / 0.8351 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5198, allocations: 28.52 kB / 0.8352 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.5199, allocations: 134.3 kB / 0.8353 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5199, allocations: 29.39 kB / 0.8353 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.52, allocations: 29.23 kB / 0.8353 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5201, allocations: 330 kB / 0.8357 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.5202, allocations: 48.34 kB / 0.8357 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.5203, allocations: 76.97 kB / 0.8358 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5205, allocations: 124 kB / 0.8359 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5205, allocations: 4 kB / 0.8359 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002543/0.5207, allocations: 161.6 kB / 0.836 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5207, allocations: 5.734 kB / 0.8361 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5207, allocations: 0 / 0.8361 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5208, allocations: 1.844 kB / 0.8361 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.5209, allocations: 26.95 kB / 0.8361 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.5209, allocations: 1.438 kB / 0.8361 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.5209, allocations: 16.31 kB / 0.8361 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.521, allocations: 9.641 kB / 0.8361 GB, free: 14.15 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.0001194/0.5211, allocations: 141.3 kB / 0.8362 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.5211, allocations: 20.25 kB / 0.8363 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.5214, allocations: 171.8 kB / 0.8364 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.5214, allocations: 14.36 kB / 0.8364 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5214, allocations: 0 / 0.8364 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5214, allocations: 0 / 0.8364 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.5217, allocations: 230.3 kB / 0.8367 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5217, allocations: 0 / 0.8367 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.5218, allocations: 14.78 kB / 0.8367 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5218, allocations: 3.984 kB / 0.8367 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5218, allocations: 1.969 kB / 0.8367 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5218, allocations: 9.359 kB / 0.8367 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5218, allocations: 0 / 0.8367 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.5221, allocations: 252 kB / 0.8369 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.5222, allocations: 101.7 kB / 0.837 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5222, allocations: 3.953 kB / 0.837 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.5223, allocations: 7.938 kB / 0.837 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.5223, allocations: 6.094 kB / 0.837 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5223, allocations: 6.984 kB / 0.837 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001568/0.5225, allocations: 175.5 kB / 0.8372 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5225, allocations: 0 / 0.8372 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007126/0.5232, allocations: 212.8 kB / 0.8374 GB, free: 13.32 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.001073/0.5243, allocations: 0.9397 MB / 0.8383 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.5245, allocations: 125.2 kB / 0.8385 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5245, allocations: 0 / 0.8385 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.5246, allocations: 76.52 kB / 0.8385 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5249, allocations: 9.594 kB / 0.8385 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.5275, allocations: 2.32 MB / 0.8408 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.5279, allocations: 0.7358 MB / 0.8415 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.528, allocations: 42.3 kB / 0.8416 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.5281, allocations: 52.05 kB / 0.8416 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.5281, allocations: 7.938 kB / 0.8416 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.5527, allocations: 5.883 MB / 0.8474 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/9.027, allocations: 8.422 kB / 0.8474 GB, free: 9.52 MB / 0.5919 GB " [Timeout remaining time 651] (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: 39.464155696041416] Failed to read output from testmodel.py, exit status != 0: 9.16755578800803 9.189853377 8.669557453 Calling exit ...