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.0009375/0.0009375, 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.001119/0.001119, 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.97/0.97, 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.001493/0.001493, allocations: 229.2 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.7059/0.7059, allocations: 138.4 MB / 454.3 MB, free: 30 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.532e-06/1.532e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.448e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001599/0.001613, allocations: 1.363 MB / 0.6476 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2351/0.2367, allocations: 1.24 MB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.2368, allocations: 1 kB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2369, allocations: 20.84 kB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.2382, allocations: 0.6188 MB / 0.6494 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 1.188e-05/0.2382, allocations: 1.344 kB / 0.6494 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.2383, allocations: 106.8 kB / 0.6495 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.2384, allocations: 5 kB / 0.6495 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.2386, allocations: 75.34 kB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2387, allocations: 71.25 kB / 0.6497 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2387, allocations: 4.594 kB / 0.6497 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.2396, allocations: 0.8155 MB / 0.6505 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2397, allocations: 64.14 kB / 0.6505 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.2397, allocations: 31.52 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.2406, allocations: 0.8371 MB / 0.6514 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2406, allocations: 0 / 0.6514 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2406, allocations: 1.766 kB / 0.6514 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2406, allocations: 0 / 0.6514 GB, free: 55.64 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.0004906/0.2411, allocations: 440 kB / 0.6518 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2411, allocations: 10.78 kB / 0.6518 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2412, allocations: 49.64 kB / 0.6519 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2413, allocations: 30.94 kB / 0.6519 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2415, allocations: 148.6 kB / 0.652 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2415, allocations: 6.297 kB / 0.6521 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.2415, allocations: 11.16 kB / 0.6521 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2417, allocations: 205 kB / 0.6523 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2417, allocations: 1.906 kB / 0.6523 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2417, allocations: 14.91 kB / 0.6523 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.2418, allocations: 46.06 kB / 0.6523 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.242, allocations: 143.4 kB / 0.6525 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.2425, allocations: 466 kB / 0.6529 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2427, allocations: 80.33 kB / 0.653 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.2428, allocations: 55.14 kB / 0.653 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2428, allocations: 2.641 kB / 0.653 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.2428, allocations: 37.56 kB / 0.6531 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.2428, allocations: 0 / 0.6531 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0002836/0.2431, allocations: 184 kB / 0.6532 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2431, allocations: 61.83 kB / 0.6533 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2433, allocations: 234.2 kB / 0.6535 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.2433, allocations: 25.7 kB / 0.6536 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.2433, allocations: 138.3 kB / 0.6537 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2433, allocations: 30.73 kB / 0.6537 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.2434, allocations: 27.95 kB / 0.6537 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.2434, allocations: 334.3 kB / 0.6541 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.2435, allocations: 43.45 kB / 0.6541 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.2435, allocations: 73.27 kB / 0.6542 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2437, allocations: 131.7 kB / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2437, allocations: 0 / 0.6543 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001819/0.2439, allocations: 165.4 kB / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2439, allocations: 7.562 kB / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2439, allocations: 1.688 kB / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2439, allocations: 1.812 kB / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.244, allocations: 15.56 kB / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.244, allocations: 0 / 0.6545 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.244, allocations: 18.62 kB / 0.6545 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.244, allocations: 12.19 kB / 0.6545 GB, free: 53.67 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.625e-05/0.2441, allocations: 140.6 kB / 0.6546 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.2441, allocations: 14.88 kB / 0.6547 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2443, allocations: 173.6 kB / 0.6548 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.2443, allocations: 8.453 kB / 0.6548 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2444, allocations: 5.125 kB / 0.6548 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2444, allocations: 2.109 kB / 0.6548 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2445, allocations: 201.8 kB / 0.655 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2445, allocations: 0.5625 kB / 0.655 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.2446, allocations: 22.73 kB / 0.6551 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2446, allocations: 1.219 kB / 0.6551 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2446, allocations: 1.938 kB / 0.6551 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2446, allocations: 2.781 kB / 0.6551 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2446, allocations: 0 / 0.6551 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2448, allocations: 259.3 kB / 0.6553 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.2448, allocations: 16.81 kB / 0.6553 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2448, allocations: 0 / 0.6553 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.2449, allocations: 2.344 kB / 0.6553 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.2449, allocations: 12.95 kB / 0.6553 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2449, allocations: 8.109 kB / 0.6553 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.558e-05/0.245, allocations: 178 kB / 0.6555 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.245, allocations: 0 / 0.6555 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006758/0.2457, allocations: 224 kB / 0.6557 GB, free: 52.98 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.0006488/0.2463, allocations: 0.9454 MB / 0.6566 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2465, allocations: 138.3 kB / 0.6568 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2465, allocations: 0 / 0.6568 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.2466, allocations: 67.31 kB / 0.6568 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.2468, allocations: 13.55 kB / 0.6569 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2485, allocations: 2.342 MB / 0.6591 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.2486, allocations: 124.7 kB / 0.6593 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.2487, allocations: 43.73 kB / 0.6593 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.2488, allocations: 52.61 kB / 0.6594 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/0.2488, allocations: 0 / 0.6594 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2698, allocations: 6.492 MB / 0.6657 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/7.052, allocations: 9.469 kB / 0.6657 GB, free: 49.63 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_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_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.55159154627472] Failed to read output from testmodel.py, exit status != 0: 7.134872649796307 7.143509246 6.900783328 Calling exit ...