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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 105.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 294.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9942/0.9942, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 95.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4455, allocations: 86.96 MB / 0.767 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002333/0.4479, allocations: 1.327 MB / 0.7683 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4497, allocations: 1.08 MB / 0.7694 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.4497, allocations: 4 kB / 0.7694 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.206e-05/0.4498, allocations: 15.86 kB / 0.7694 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.451, allocations: 489.4 kB / 0.7699 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.418e-05/0.4511, allocations: 0 / 0.7699 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.4512, allocations: 103.7 kB / 0.77 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.4513, allocations: 12.12 kB / 0.77 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.4514, allocations: 39.89 kB / 0.77 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4515, allocations: 55.81 kB / 0.7701 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.4515, allocations: 8 kB / 0.7701 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.4523, allocations: 0.5577 MB / 0.7706 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4524, allocations: 73.55 kB / 0.7707 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.4525, allocations: 67.34 kB / 0.7708 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.4533, allocations: 0.5844 MB / 0.7713 GB, free: 15.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4533, allocations: 4 kB / 0.7713 GB, free: 15.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.4533, allocations: 0 / 0.7713 GB, free: 15.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4533, allocations: 4 kB / 0.7713 GB, free: 15.66 MB / 0.545 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.0006362/0.4539, allocations: 0.5495 MB / 0.7719 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.454, allocations: 8.031 kB / 0.7719 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.454, allocations: 20.66 kB / 0.7719 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4543, allocations: 243.7 kB / 0.7721 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4543, allocations: 8.359 kB / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4543, allocations: 12.06 kB / 0.7722 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.4547, allocations: 312.8 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4547, allocations: 0 / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4547, allocations: 7.984 kB / 0.7725 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.4548, allocations: 83.92 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.4551, allocations: 248.4 kB / 0.7728 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4564, allocations: 0.6142 MB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4566, allocations: 178.8 kB / 0.7735 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4568, allocations: 165.1 kB / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.4568, allocations: 0 / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4569, allocations: 38.56 kB / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.4569, allocations: 0 / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007142/0.4576, allocations: 0.5399 MB / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4576, allocations: 77.11 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.4579, allocations: 294.5 kB / 0.7746 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4579, allocations: 25.7 kB / 0.7746 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.458, allocations: 128.8 kB / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.4581, allocations: 110.3 kB / 0.7749 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.4582, allocations: 41.69 kB / 0.7749 GB, free: 11.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4583, allocations: 342.8 kB / 0.7752 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4585, allocations: 135.9 kB / 0.7754 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4586, allocations: 128.5 kB / 0.7755 GB, free: 11.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4589, allocations: 381.5 kB / 0.7759 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.459, allocations: 4 kB / 0.7759 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003967/0.4594, allocations: 387.1 kB / 0.7762 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.4594, allocations: 36.36 kB / 0.7763 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4594, allocations: 7.938 kB / 0.7763 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4594, allocations: 0 / 0.7763 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.4595, allocations: 4 kB / 0.7763 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4595, allocations: 3.938 kB / 0.7763 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.4596, allocations: 19.69 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.4596, allocations: 8 kB / 0.7763 GB, free: 10.32 MB / 0.545 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.000143/0.4597, allocations: 185.9 kB / 0.7765 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4598, allocations: 27.62 kB / 0.7765 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.4598, allocations: 22.95 kB / 0.7765 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/0.4599, allocations: 39.97 kB / 0.7766 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4599, allocations: 7.938 kB / 0.7766 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4599, allocations: 0 / 0.7766 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.4605, allocations: 293.4 kB / 0.7769 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4606, allocations: 4 kB / 0.7769 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.4606, allocations: 0 / 0.7769 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4606, allocations: 0 / 0.7769 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4606, allocations: 7.938 kB / 0.7769 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4606, allocations: 0 / 0.7769 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4606, allocations: 7.875 kB / 0.7769 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.4611, allocations: 0.4905 MB / 0.7774 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.4612, allocations: 108.8 kB / 0.7775 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4612, allocations: 192 / 0.7775 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.4613, allocations: 0 / 0.7775 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4613, allocations: 11.92 kB / 0.7775 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.4614, allocations: 16 kB / 0.7775 GB, free: 9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001866/0.4615, allocations: 213.9 kB / 0.7777 GB, free: 8.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4616, allocations: 0 / 0.7777 GB, free: 8.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004779/0.462, allocations: 168 kB / 0.7778 GB, free: 8.629 MB / 0.545 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.0004372/0.4625, allocations: 215.1 kB / 0.7781 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.4629, allocations: 391.1 kB / 0.7784 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4629, allocations: 0 / 0.7784 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4632, allocations: 235.3 kB / 0.7787 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4634, allocations: 12.56 kB / 0.7787 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.4642, allocations: 0.6152 MB / 0.7793 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4646, allocations: 0.7754 MB / 0.78 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.4647, allocations: 27.42 kB / 0.78 GB, free: 6.281 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4647, allocations: 0 / 0.78 GB, free: 6.281 MB / 0.545 GB Notification: Performance of Templates: time 0.006277/0.4709, allocations: 3.892 MB / 0.7838 GB, free: 2.387 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)