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.001331/0.001331, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002389/0.002389, allocations: 162.4 kB / 23.01 MB, free: 4.602 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.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.002504/0.002504, allocations: 230.6 kB / 260 MB, free: 456 kB / 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 0.9345/0.9345, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") [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.00318/0.00318, allocations: 103.8 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3927, allocations: 95.34 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002016/0.3948, allocations: 1.352 MB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3965, allocations: 1.253 MB / 0.743 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.3965, allocations: 1.75 kB / 0.743 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.741e-05/0.3966, allocations: 17.8 kB / 0.743 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3979, allocations: 0.614 MB / 0.7436 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 9.027e-06/0.3979, allocations: 0 / 0.7436 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.398, allocations: 105.8 kB / 0.7437 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3981, allocations: 5.016 kB / 0.7437 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3982, allocations: 60.22 kB / 0.7438 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3983, allocations: 70.08 kB / 0.7438 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3983, allocations: 8.781 kB / 0.7438 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009827/0.3993, allocations: 0.8109 MB / 0.7446 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.3994, allocations: 64.81 kB / 0.7447 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.3995, allocations: 48.8 kB / 0.7447 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.4003, allocations: 0.7146 MB / 0.7454 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4003, allocations: 3.938 kB / 0.7454 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4003, allocations: 0 / 0.7454 GB, free: 15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4003, allocations: 1.469 kB / 0.7455 GB, free: 15 MB / 0.5919 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.0004443/0.4007, allocations: 443.2 kB / 0.7459 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4008, allocations: 11.06 kB / 0.7459 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.401, allocations: 29.91 kB / 0.7459 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4012, allocations: 147.5 kB / 0.7461 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.4012, allocations: 7.594 kB / 0.7461 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.4012, allocations: 13.58 kB / 0.7461 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4014, allocations: 212.5 kB / 0.7463 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4015, allocations: 0 / 0.7463 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4015, allocations: 0 / 0.7463 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/0.4015, allocations: 46.08 kB / 0.7463 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.4017, allocations: 144.5 kB / 0.7465 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.4024, allocations: 404.5 kB / 0.7468 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.4026, allocations: 78.41 kB / 0.7469 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.4026, allocations: 58.36 kB / 0.747 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4026, allocations: 1.344 kB / 0.747 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.4027, allocations: 33.44 kB / 0.747 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4027, allocations: 0 / 0.747 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0003245/0.403, allocations: 183.3 kB / 0.7472 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.403, allocations: 52.53 kB / 0.7472 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4031, allocations: 161.7 kB / 0.7474 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.4031, allocations: 25.7 kB / 0.7474 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.4032, allocations: 142.1 kB / 0.7475 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.4032, allocations: 34.09 kB / 0.7476 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4032, allocations: 32 kB / 0.7476 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.4033, allocations: 322.5 kB / 0.7479 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.4034, allocations: 42.23 kB / 0.748 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-05/0.4034, allocations: 72.64 kB / 0.748 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.4036, allocations: 134.2 kB / 0.7482 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4036, allocations: 0 / 0.7482 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002167/0.4038, allocations: 158.4 kB / 0.7483 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4038, allocations: 9.875 kB / 0.7483 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4038, allocations: 2.094 kB / 0.7483 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4039, allocations: 1.062 kB / 0.7483 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.4039, allocations: 20.97 kB / 0.7483 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4039, allocations: 6.812 kB / 0.7483 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.404, allocations: 10.39 kB / 0.7484 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.404, allocations: 13.12 kB / 0.7484 GB, free: 13.03 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 7.881e-05/0.4041, allocations: 133.2 kB / 0.7485 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.4041, allocations: 8.812 kB / 0.7485 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.4044, allocations: 167.1 kB / 0.7487 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4044, allocations: 10.53 kB / 0.7487 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4044, allocations: 3.938 kB / 0.7487 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4044, allocations: 0.7031 kB / 0.7487 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4046, allocations: 181.9 kB / 0.7488 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4046, allocations: 0.6562 kB / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.4047, allocations: 12.78 kB / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4047, allocations: 0 / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4047, allocations: 3.141 kB / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4047, allocations: 1.953 kB / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4047, allocations: 0 / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.405, allocations: 253.7 kB / 0.7491 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.405, allocations: 12.19 kB / 0.7491 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.405, allocations: 1.516 kB / 0.7491 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.4051, allocations: 4.75 kB / 0.7491 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.4051, allocations: 15.5 kB / 0.7491 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4051, allocations: 7.938 kB / 0.7491 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.4052, allocations: 113.9 kB / 0.7493 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4052, allocations: 192 / 0.7493 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000554/0.4058, allocations: 221.5 kB / 0.7495 GB, free: 12.38 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.0004431/0.4062, allocations: 249.8 kB / 0.7497 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4064, allocations: 125.3 kB / 0.7498 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4065, allocations: 0 / 0.7498 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.4066, allocations: 75.16 kB / 0.7499 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4068, allocations: 6.594 kB / 0.7499 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.4073, allocations: 327.4 kB / 0.7502 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4074, allocations: 123.4 kB / 0.7503 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.4075, allocations: 32.06 kB / 0.7504 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.4076, allocations: 21.17 kB / 0.7504 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4076, allocations: 1.156 kB / 0.7504 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.006405/0.414, allocations: 3.472 MB / 0.7538 GB, free: 10.77 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.637210526037961] Failed to read output from testmodel.py, exit status != 0: 0.4218621529871598 0.432356582 0.02959888499999994 Calling exit ...