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.001271/0.001271, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.001363/0.001363, allocations: 217 kB / 23.04 MB, free: 5.078 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002579/0.002579, allocations: 287 kB / 313.5 MB, free: 2.793 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.004296/0.004296, allocations: 99.12 kB / 0.7403 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2369, allocations: 95.38 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002559/0.2394, allocations: 1.354 MB / 0.8348 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2414, allocations: 1.133 MB / 0.8359 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.2415, allocations: 0 / 0.8359 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.2416, allocations: 15.92 kB / 0.8359 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2428, allocations: 0.5075 MB / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.82e-05/0.2428, allocations: 7.984 kB / 0.8364 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.243, allocations: 103.7 kB / 0.8365 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.243, allocations: 8.188 kB / 0.8366 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.2431, allocations: 43.84 kB / 0.8366 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2432, allocations: 67.72 kB / 0.8367 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2432, allocations: 4 kB / 0.8367 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.2442, allocations: 0.6629 MB / 0.8373 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2443, allocations: 79.73 kB / 0.8374 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.2444, allocations: 71.36 kB / 0.8375 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.2451, allocations: 0.6 MB / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2451, allocations: 0 / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2451, allocations: 0 / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2451, allocations: 4 kB / 0.838 GB, free: 3.977 MB / 0.5762 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.0007063/0.2458, allocations: 0.491 MB / 0.8385 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2459, allocations: 13.34 kB / 0.8385 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.2459, allocations: 4.188 kB / 0.8385 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.2459, allocations: 54.72 kB / 0.8386 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.246, allocations: 24.75 kB / 0.8386 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.2462, allocations: 182 kB / 0.8388 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2463, allocations: 12.09 kB / 0.8388 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2463, allocations: 8 kB / 0.8388 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.2467, allocations: 312.5 kB / 0.8391 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2467, allocations: 0 / 0.8391 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2467, allocations: 0 / 0.8391 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.2468, allocations: 87.86 kB / 0.8392 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2471, allocations: 248.3 kB / 0.8394 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2485, allocations: 0.5938 MB / 0.84 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.2487, allocations: 154.8 kB / 0.8402 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2489, allocations: 137.1 kB / 0.8403 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2489, allocations: 0 / 0.8403 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2489, allocations: 34.56 kB / 0.8403 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.112e-06/0.2489, allocations: 0 / 0.8403 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008258/0.2498, allocations: 0.5362 MB / 0.8408 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.2498, allocations: 85.03 kB / 0.8409 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.2501, allocations: 285.9 kB / 0.8412 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2502, allocations: 33.7 kB / 0.8412 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2503, allocations: 136.7 kB / 0.8414 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.2504, allocations: 111 kB / 0.8415 GB, free: 288 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.2504, allocations: 41.69 kB / 0.8415 GB, free: 240 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2506, allocations: 342.8 kB / 0.8418 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2508, allocations: 135.9 kB / 0.842 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2509, allocations: 131.9 kB / 0.8421 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.2513, allocations: 385.5 kB / 0.8425 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2513, allocations: 4 kB / 0.8425 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004615/0.2518, allocations: 383.3 kB / 0.8428 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.2518, allocations: 37.69 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2518, allocations: 0 / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2519, allocations: 0 / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.2519, allocations: 7.938 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2519, allocations: 0 / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.252, allocations: 23.73 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.252, allocations: 8 kB / 0.8429 GB, free: 14.77 MB / 0.5919 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.0001828/0.2522, allocations: 188.2 kB / 0.8431 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.2522, allocations: 23.84 kB / 0.8431 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.2523, allocations: 18.97 kB / 0.8431 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.338e-05/0.2523, allocations: 39.91 kB / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2523, allocations: 4 kB / 0.8432 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2523, allocations: 3.984 kB / 0.8432 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.253, allocations: 264.5 kB / 0.8434 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.253, allocations: 0 / 0.8434 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.253, allocations: 3.984 kB / 0.8434 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.253, allocations: 0 / 0.8434 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2531, allocations: 11.98 kB / 0.8434 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2531, allocations: 3.938 kB / 0.8434 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2531, allocations: 0 / 0.8434 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.2536, allocations: 498.5 kB / 0.8439 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.2536, allocations: 39.62 kB / 0.8439 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.2537, allocations: 0 / 0.8439 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.2537, allocations: 3.938 kB / 0.8439 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2538, allocations: 7.984 kB / 0.844 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2538, allocations: 16 kB / 0.844 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002158/0.254, allocations: 217.1 kB / 0.8442 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.254, allocations: 0 / 0.8442 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005488/0.2546, allocations: 171.8 kB / 0.8443 GB, free: 13.19 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 (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.001206/0.2558, allocations: 1.129 MB / 0.8454 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2562, allocations: 359.4 kB / 0.8458 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2562, allocations: 0 / 0.8458 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2565, allocations: 211.4 kB / 0.846 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2568, allocations: 18.69 kB / 0.846 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.2609, allocations: 3.643 MB / 0.8496 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2614, allocations: 0.7754 MB / 0.8503 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.219e-05/0.2615, allocations: 41.08 kB / 0.8504 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2616, allocations: 79.41 kB / 0.8504 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.2616, allocations: 0 / 0.8504 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.2911, allocations: 6.834 MB / 0.8571 GB, free: 104 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.64, allocations: 5.781 kB / 0.8571 GB, free: 100 kB / 0.5919 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 65.84468044596724] Failed to read output from testmodel.py, exit status != 0: 11.807775104010943 11.832815329 11.582608121 Calling exit ...