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.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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004804/0.004804, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001126/0.001126, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 95.84 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002027/0.1494, allocations: 1.352 MB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1512, allocations: 1.318 MB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1512, allocations: 0 / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.688e-05/0.1513, allocations: 15.91 kB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1524, allocations: 0.583 MB / 0.7696 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.017e-05/0.1525, allocations: 8 kB / 0.7696 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1526, allocations: 103.7 kB / 0.7697 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.1526, allocations: 8.234 kB / 0.7697 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1527, allocations: 47.77 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1528, allocations: 63.73 kB / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1529, allocations: 11.94 kB / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007562/0.1536, allocations: 0.7098 MB / 0.7705 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.1537, allocations: 52.39 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.1538, allocations: 59.53 kB / 0.7706 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.1545, allocations: 0.6779 MB / 0.7713 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1545, allocations: 7.938 kB / 0.7713 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1545, allocations: 0 / 0.7713 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1545, allocations: 0 / 0.7713 GB, free: 3.387 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005299/0.155, allocations: 0.5057 MB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1551, allocations: 8.031 kB / 0.7718 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1551, allocations: 16.84 kB / 0.7718 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1553, allocations: 208.1 kB / 0.772 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1553, allocations: 4.359 kB / 0.772 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1553, allocations: 8.375 kB / 0.772 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1556, allocations: 218.6 kB / 0.7722 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1556, allocations: 0 / 0.7722 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1556, allocations: 3.984 kB / 0.7722 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.957e-05/0.1557, allocations: 51.95 kB / 0.7723 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1559, allocations: 140.2 kB / 0.7724 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.1566, allocations: 0.4929 MB / 0.7729 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1568, allocations: 90.58 kB / 0.773 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1569, allocations: 56.77 kB / 0.773 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.157, allocations: 0 / 0.773 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.157, allocations: 34.55 kB / 0.7731 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.157, allocations: 0 / 0.7731 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003252/0.1573, allocations: 193.4 kB / 0.7732 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1574, allocations: 51.41 kB / 0.7733 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1576, allocations: 235.8 kB / 0.7735 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1576, allocations: 37.64 kB / 0.7735 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1577, allocations: 128.2 kB / 0.7737 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1577, allocations: 31.73 kB / 0.7737 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1577, allocations: 25.67 kB / 0.7737 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1579, allocations: 334.8 kB / 0.774 GB, free: 340 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.1579, allocations: 39.97 kB / 0.7741 GB, free: 300 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.158, allocations: 75.39 kB / 0.7742 GB, free: 212 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1582, allocations: 127.7 kB / 0.7743 GB, free: 72 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1582, allocations: 4 kB / 0.7743 GB, free: 68 kB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.3033/0.4615, allocations: 160.9 kB / 0.7744 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4616, allocations: 5.625 kB / 0.7744 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4616, allocations: 4.844 kB / 0.7744 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4616, allocations: 1.344 kB / 0.7744 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4618, allocations: 18.53 kB / 0.7745 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4618, allocations: 5.312 kB / 0.7745 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.4619, allocations: 21.08 kB / 0.7745 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.4619, allocations: 10.05 kB / 0.7745 GB, free: 14.68 MB / 0.5606 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 9.918e-05/0.462, allocations: 133.6 kB / 0.7746 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.4621, allocations: 19.8 kB / 0.7746 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.4624, allocations: 172.9 kB / 0.7748 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.4624, allocations: 6.062 kB / 0.7748 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4624, allocations: 2.016 kB / 0.7748 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4625, allocations: 1.312 kB / 0.7748 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.4627, allocations: 231.8 kB / 0.775 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4628, allocations: 0 / 0.775 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.4629, allocations: 13.42 kB / 0.775 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4629, allocations: 1.594 kB / 0.775 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4629, allocations: 6.609 kB / 0.7751 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4629, allocations: 0.6562 kB / 0.7751 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4629, allocations: 3.281 kB / 0.7751 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.4632, allocations: 260 kB / 0.7753 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.4633, allocations: 97.34 kB / 0.7754 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.4633, allocations: 1.719 kB / 0.7754 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.4634, allocations: 5.734 kB / 0.7754 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.4634, allocations: 6.75 kB / 0.7754 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4634, allocations: 8.375 kB / 0.7754 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001428/0.4636, allocations: 177.7 kB / 0.7756 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4636, allocations: 1.281 kB / 0.7756 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005886/0.4642, allocations: 213.6 kB / 0.7758 GB, free: 14.03 MB / 0.5606 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.0004719/0.4647, allocations: 248.8 kB / 0.776 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.4649, allocations: 131 kB / 0.7762 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.465, allocations: 0 / 0.7762 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4651, allocations: 78.19 kB / 0.7762 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4653, allocations: 14.47 kB / 0.7762 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.4659, allocations: 348.8 kB / 0.7766 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.4661, allocations: 0.7354 MB / 0.7773 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.4662, allocations: 40.95 kB / 0.7773 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4663, allocations: 18.59 kB / 0.7774 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.4663, allocations: 3.656 kB / 0.7774 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.007252/0.4735, allocations: 3.788 MB / 0.7811 GB, free: 12.95 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)