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.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.001017/0.001017, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009254/0.0009254, 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.869/0.869, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.001441/0.001441, allocations: 244.6 kB / 259.4 MB, free: 13.01 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.6854/0.6854, 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.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 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.058e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.00169/0.001711, allocations: 1.34 MB / 0.6476 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2285/0.2302, allocations: 1.005 MB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.2303, allocations: 0.7188 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.2304, allocations: 15.27 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2314, allocations: 0.496 MB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 1.54e-05/0.2314, allocations: 3.938 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2316, allocations: 103.4 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.2316, allocations: 7.875 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.2317, allocations: 58.47 kB / 0.6492 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2318, allocations: 55.33 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2319, allocations: 6.688 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.2327, allocations: 0.6277 MB / 0.6499 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2328, allocations: 80.92 kB / 0.65 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.2328, allocations: 30.14 kB / 0.65 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.2334, allocations: 0.6915 MB / 0.6507 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2334, allocations: 1.25 kB / 0.6507 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2334, allocations: 0 / 0.6507 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2334, allocations: 0 / 0.6507 GB, free: 55.78 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0004502/0.2339, allocations: 0.4949 MB / 0.6512 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2339, allocations: 12.47 kB / 0.6512 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2339, allocations: 55.44 kB / 0.6512 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.234, allocations: 25.75 kB / 0.6513 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2341, allocations: 177.4 kB / 0.6514 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2342, allocations: 7.406 kB / 0.6514 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2342, allocations: 3.75 kB / 0.6514 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2345, allocations: 339.6 kB / 0.6518 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2345, allocations: 0.5625 kB / 0.6518 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2345, allocations: 2.5 kB / 0.6518 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.2346, allocations: 85.14 kB / 0.6518 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.2348, allocations: 279 kB / 0.6521 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.2358, allocations: 0.6319 MB / 0.6527 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.236, allocations: 176.2 kB / 0.6529 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2361, allocations: 170 kB / 0.6531 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.2361, allocations: 1.859 kB / 0.6531 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.2361, allocations: 32.59 kB / 0.6531 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.2361, allocations: 0.9375 kB / 0.6531 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34): time 0.0005518/0.2367, allocations: 0.5889 MB / 0.6537 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.2367, allocations: 80.84 kB / 0.6537 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2369, allocations: 287.5 kB / 0.654 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.2369, allocations: 26.95 kB / 0.654 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2369, allocations: 138.5 kB / 0.6542 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.237, allocations: 115.7 kB / 0.6543 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.237, allocations: 37.75 kB / 0.6543 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.2371, allocations: 346.7 kB / 0.6547 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2372, allocations: 161.2 kB / 0.6548 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.2373, allocations: 163.8 kB / 0.655 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.2376, allocations: 376.5 kB / 0.6553 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2376, allocations: 0 / 0.6553 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002887/0.2378, allocations: 423.8 kB / 0.6557 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2379, allocations: 31.73 kB / 0.6558 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2379, allocations: 0 / 0.6558 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2379, allocations: 2.812 kB / 0.6558 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.238, allocations: 5.656 kB / 0.6558 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.238, allocations: 0 / 0.6558 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.238, allocations: 28.84 kB / 0.6558 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.238, allocations: 12.72 kB / 0.6558 GB, free: 53.17 MB / 0.5573 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 8.586e-05/0.2381, allocations: 184.1 kB / 0.656 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.2381, allocations: 21.25 kB / 0.656 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.2381, allocations: 23.58 kB / 0.656 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.2382, allocations: 38.06 kB / 0.6561 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2382, allocations: 0 / 0.6561 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2382, allocations: 5.203 kB / 0.6561 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.2386, allocations: 284.7 kB / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2386, allocations: 1.594 kB / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.2386, allocations: 2.375 kB / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2386, allocations: 1.375 kB / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2386, allocations: 4.406 kB / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2386, allocations: 0 / 0.6563 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2386, allocations: 4.438 kB / 0.6564 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.2389, allocations: 0.5173 MB / 0.6569 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2389, allocations: 37.14 kB / 0.6569 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.239, allocations: 5.344 kB / 0.6569 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.239, allocations: 1.75 kB / 0.6569 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.239, allocations: 9.297 kB / 0.6569 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.239, allocations: 11.86 kB / 0.6569 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001184/0.2392, allocations: 213 kB / 0.6571 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2392, allocations: 1.562 kB / 0.6571 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005038/0.2397, allocations: 174.9 kB / 0.6573 GB, free: 52.39 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 (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.0006812/0.2403, allocations: 1.18 MB / 0.6584 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.2407, allocations: 415 kB / 0.6588 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2407, allocations: 0 / 0.6588 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2408, allocations: 236.2 kB / 0.6591 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.241, allocations: 18.55 kB / 0.6591 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.2434, allocations: 3.815 MB / 0.6628 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.2435, allocations: 165.5 kB / 0.663 GB, free: 49.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.093e-05/0.2436, allocations: 47.25 kB / 0.663 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.2437, allocations: 75.67 kB / 0.6631 GB, free: 49.13 MB / 0.5573 GB Notification: Performance of SimCode: time 9.51e-07/0.2437, allocations: 0.9062 kB / 0.6631 GB, free: 49.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.2641, allocations: 7.171 MB / 0.6701 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/7.074, allocations: 4 kB / 0.6701 GB, free: 48.12 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces_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_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 39.01113991998136] Failed to read output from testmodel.py, exit status != 0: 7.156104990281165 7.165120815 6.929671717 Calling exit ...