Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 291 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 105.2 kB / 0.7248 GB, free: 40.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1278, allocations: 94.15 MB / 0.8167 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002283/0.1301, allocations: 1.334 MB / 0.818 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1317, allocations: 1.088 MB / 0.8191 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1318, allocations: 0 / 0.8191 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.1318, allocations: 15.92 kB / 0.8191 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009936/0.1328, allocations: 493.4 kB / 0.8196 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.168e-05/0.1328, allocations: 0 / 0.8196 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.133, allocations: 103.7 kB / 0.8197 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.133, allocations: 8.172 kB / 0.8197 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.1331, allocations: 43.78 kB / 0.8197 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.1332, allocations: 59.84 kB / 0.8198 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1332, allocations: 8 kB / 0.8198 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.1339, allocations: 0.5655 MB / 0.8203 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.134, allocations: 77.45 kB / 0.8204 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.1341, allocations: 75.34 kB / 0.8205 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.1347, allocations: 0.5844 MB / 0.821 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1347, allocations: 0 / 0.821 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1347, allocations: 0 / 0.821 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1347, allocations: 0 / 0.821 GB, free: 0.9648 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006079/0.1353, allocations: 0.5618 MB / 0.8216 GB, free: 356 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1353, allocations: 12.03 kB / 0.8216 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.1354, allocations: 54.72 kB / 0.8217 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1354, allocations: 24.75 kB / 0.8217 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1357, allocations: 244.5 kB / 0.8219 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1357, allocations: 384 / 0.8219 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1357, allocations: 15.92 kB / 0.8219 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.1361, allocations: 316.7 kB / 0.8222 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1361, allocations: 0 / 0.8222 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1361, allocations: 0 / 0.8222 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.1362, allocations: 79.92 kB / 0.8223 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.1365, allocations: 256.9 kB / 0.8226 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1377, allocations: 0.6222 MB / 0.8232 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1379, allocations: 150.8 kB / 0.8233 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1381, allocations: 141.1 kB / 0.8234 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.1381, allocations: 0 / 0.8234 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1381, allocations: 34.56 kB / 0.8235 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.062e-06/0.1381, allocations: 0 / 0.8235 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0006899/0.1388, allocations: 0.5362 MB / 0.824 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1388, allocations: 81.05 kB / 0.8241 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1391, allocations: 294.6 kB / 0.8244 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1391, allocations: 33.64 kB / 0.8244 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.1392, allocations: 136.7 kB / 0.8245 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.1393, allocations: 111 kB / 0.8246 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.1394, allocations: 41.69 kB / 0.8247 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1395, allocations: 342.8 kB / 0.825 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1397, allocations: 131.9 kB / 0.8251 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1398, allocations: 131.9 kB / 0.8252 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1402, allocations: 381.5 kB / 0.8256 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1402, allocations: 0 / 0.8256 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004181/0.1406, allocations: 387.3 kB / 0.826 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.1406, allocations: 33.7 kB / 0.826 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1406, allocations: 0 / 0.826 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1407, allocations: 0 / 0.826 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.1407, allocations: 0 / 0.826 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1407, allocations: 7.938 kB / 0.826 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.1407, allocations: 35.69 kB / 0.826 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1408, allocations: 8 kB / 0.8261 GB, free: 11.55 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.0001496/0.1409, allocations: 187.5 kB / 0.8262 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.141, allocations: 23.81 kB / 0.8263 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.141, allocations: 22.95 kB / 0.8263 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-05/0.141, allocations: 35.97 kB / 0.8263 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.141, allocations: 7.938 kB / 0.8263 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1411, allocations: 0 / 0.8263 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.1416, allocations: 297.4 kB / 0.8266 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1416, allocations: 0 / 0.8266 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.1416, allocations: 0 / 0.8266 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1416, allocations: 0 / 0.8266 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1417, allocations: 11.98 kB / 0.8266 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1417, allocations: 3.938 kB / 0.8266 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1417, allocations: 3.938 kB / 0.8266 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.1422, allocations: 490.6 kB / 0.8271 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.1422, allocations: 112.8 kB / 0.8272 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1423, allocations: 0 / 0.8272 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.1423, allocations: 192 / 0.8272 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.1424, allocations: 11.92 kB / 0.8272 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1424, allocations: 23.97 kB / 0.8272 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001988/0.1426, allocations: 209.9 kB / 0.8274 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1426, allocations: 4 kB / 0.8274 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004108/0.143, allocations: 175.7 kB / 0.8276 GB, free: 9.852 MB / 0.5762 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 (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.001047/0.144, allocations: 1.129 MB / 0.8287 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.1445, allocations: 363.1 kB / 0.8291 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1445, allocations: 0 / 0.8291 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1447, allocations: 227.2 kB / 0.8293 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1449, allocations: 13.44 kB / 0.8293 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.1486, allocations: 3.622 MB / 0.8328 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.149, allocations: 0.7793 MB / 0.8336 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.278e-05/0.1491, allocations: 41.08 kB / 0.8336 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.1492, allocations: 79.41 kB / 0.8337 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1492, allocations: 0 / 0.8337 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1773, allocations: 6.561 MB / 0.8401 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.773, allocations: 2.75 kB / 0.8401 GB, free: 13.03 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 49.079005061648786] Failed to read output from testmodel.py, exit status != 0: 7.8474492388777435 7.860244741 7.722944378 Calling exit ...