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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004807/0.004807, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001229/0.001229, allocations: 184.8 kB / 16.67 MB, free: 5.926 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002666, allocations: 283.1 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 1.091/1.091, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 100.9 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1582, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.00244/0.1606, allocations: 1.343 MB / 0.7672 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1627, allocations: 1.318 MB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.1628, allocations: 4 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.779e-05/0.1629, allocations: 19.91 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1642, allocations: 0.587 MB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.29e-05/0.1643, allocations: 4 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1644, allocations: 103.6 kB / 0.7692 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1645, allocations: 4.234 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1646, allocations: 47.77 kB / 0.7693 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1647, allocations: 67.8 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1647, allocations: 4 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.1657, allocations: 0.7175 MB / 0.77 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.1658, allocations: 56.39 kB / 0.7701 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.1658, allocations: 55.61 kB / 0.7701 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008301/0.1667, allocations: 0.6859 MB / 0.7708 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1667, allocations: 0 / 0.7708 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1667, allocations: 0 / 0.7708 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1667, allocations: 0 / 0.7708 GB, free: 3.902 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.0006343/0.1673, allocations: 0.5056 MB / 0.7713 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1674, allocations: 8.031 kB / 0.7713 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.1674, allocations: 54.72 kB / 0.7714 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1675, allocations: 12.84 kB / 0.7714 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1677, allocations: 211 kB / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1677, allocations: 12.36 kB / 0.7716 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1677, allocations: 4.375 kB / 0.7716 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.168, allocations: 211.2 kB / 0.7718 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1681, allocations: 0 / 0.7718 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1681, allocations: 3.984 kB / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.971e-05/0.1682, allocations: 47.89 kB / 0.7718 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.1684, allocations: 144.8 kB / 0.772 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.1692, allocations: 0.5044 MB / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1694, allocations: 86.58 kB / 0.7725 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.1695, allocations: 48.83 kB / 0.7726 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1695, allocations: 4 kB / 0.7726 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1695, allocations: 38.5 kB / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1696, allocations: 4 kB / 0.7726 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003454/0.1699, allocations: 185.4 kB / 0.7728 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.17, allocations: 55.34 kB / 0.7729 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1702, allocations: 239.1 kB / 0.7731 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1702, allocations: 25.7 kB / 0.7731 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.1703, allocations: 128.2 kB / 0.7732 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1703, allocations: 35.67 kB / 0.7733 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.1704, allocations: 29.67 kB / 0.7733 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1705, allocations: 330.8 kB / 0.7736 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.1706, allocations: 47.97 kB / 0.7737 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.745e-05/0.1707, allocations: 71.39 kB / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1709, allocations: 127.3 kB / 0.7739 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1709, allocations: 4 kB / 0.7739 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002733/0.1712, allocations: 165.8 kB / 0.774 GB, free: 360 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1712, allocations: 4 kB / 0.774 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1712, allocations: 3.938 kB / 0.774 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1713, allocations: 4 kB / 0.774 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1714, allocations: 15.98 kB / 0.774 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1714, allocations: 3.938 kB / 0.774 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.1715, allocations: 19.83 kB / 0.7741 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1715, allocations: 11.98 kB / 0.7741 GB, free: 296 kB / 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 0.0001116/0.1716, allocations: 137.8 kB / 0.7742 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1717, allocations: 19.89 kB / 0.7742 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2945/0.4661, allocations: 161.6 kB / 0.7744 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/0.4662, allocations: 7.609 kB / 0.7744 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4662, allocations: 3.844 kB / 0.7744 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.4662, allocations: 0.6562 kB / 0.7744 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.4666, allocations: 227.6 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4666, allocations: 1.969 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4667, allocations: 20.17 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4667, allocations: 0.5625 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4667, allocations: 5.141 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4668, allocations: 0.875 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4668, allocations: 1 kB / 0.7746 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4671, allocations: 259.5 kB / 0.7749 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.4671, allocations: 102.6 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.4671, allocations: 5.641 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4673, allocations: 0.875 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.4673, allocations: 6.406 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4673, allocations: 9.641 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001475/0.4675, allocations: 176.8 kB / 0.7752 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4675, allocations: 0 / 0.7752 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007059/0.4682, allocations: 210 kB / 0.7754 GB, free: 14.25 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.0007761/0.469, allocations: 0.9377 MB / 0.7763 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4692, allocations: 129.5 kB / 0.7764 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4693, allocations: 0 / 0.7764 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4694, allocations: 75.16 kB / 0.7765 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4697, allocations: 14.09 kB / 0.7765 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.4719, allocations: 2.319 MB / 0.7788 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.4721, allocations: 0.7404 MB / 0.7795 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.4722, allocations: 39.66 kB / 0.7795 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.4723, allocations: 54.28 kB / 0.7796 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4723, allocations: 0 / 0.7796 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2998/0.7721, allocations: 5.799 MB / 0.7852 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.147, allocations: 5.469 kB / 0.7852 GB, free: 11.16 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)