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.001633/0.001633, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001515/0.001516, allocations: 189 kB / 17.3 MB, free: 5.613 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 288.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 91.08 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 86.98 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.003033/0.2292, allocations: 1.344 MB / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.2316, allocations: 1.326 MB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.2317, allocations: 0 / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.2318, allocations: 15.86 kB / 0.6842 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.2333, allocations: 0.587 MB / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.297e-05/0.2333, allocations: 0 / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2335, allocations: 103.6 kB / 0.6849 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.2336, allocations: 4.234 kB / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2337, allocations: 55.77 kB / 0.685 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2339, allocations: 63.73 kB / 0.685 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.2339, allocations: 4 kB / 0.685 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.2348, allocations: 0.7059 MB / 0.6857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2349, allocations: 64.58 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.235, allocations: 55.59 kB / 0.6858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.2358, allocations: 0.6822 MB / 0.6865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2358, allocations: 0 / 0.6865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2358, allocations: 0 / 0.6865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2358, allocations: 0 / 0.6865 GB, free: 2.387 MB / 494.1 MB 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.0007029/0.2365, allocations: 498.9 kB / 0.687 GB, free: 1.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2366, allocations: 16.02 kB / 0.687 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.2367, allocations: 12.75 kB / 0.687 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2369, allocations: 200 kB / 0.6872 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2369, allocations: 16.3 kB / 0.6872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.237, allocations: 8.375 kB / 0.6872 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.2373, allocations: 210.8 kB / 0.6874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2374, allocations: 0 / 0.6874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2374, allocations: 3.984 kB / 0.6874 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.2375, allocations: 43.95 kB / 0.6875 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2377, allocations: 144.2 kB / 0.6876 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.2386, allocations: 0.5042 MB / 0.6881 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.2388, allocations: 90.53 kB / 0.6882 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.2389, allocations: 48.83 kB / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.239, allocations: 4 kB / 0.6882 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.239, allocations: 34.56 kB / 0.6883 GB, free: 424 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.239, allocations: 0 / 0.6883 GB, free: 424 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003548/0.2394, allocations: 189.3 kB / 0.6884 GB, free: 228 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2394, allocations: 55.41 kB / 0.6885 GB, free: 160 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4613/0.7007, allocations: 241.2 kB / 0.6887 GB, free: 18.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.7008, allocations: 26.42 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.7009, allocations: 123.5 kB / 0.6889 GB, free: 18.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.701, allocations: 30.11 kB / 0.6889 GB, free: 18.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.7011, allocations: 31.58 kB / 0.6889 GB, free: 18.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.7012, allocations: 325.7 kB / 0.6892 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.7013, allocations: 45.08 kB / 0.6893 GB, free: 17.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.7014, allocations: 71.19 kB / 0.6893 GB, free: 17.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.7016, allocations: 133.5 kB / 0.6895 GB, free: 17.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7016, allocations: 0 / 0.6895 GB, free: 17.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003072/0.702, allocations: 169 kB / 0.6896 GB, free: 17.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.702, allocations: 5.625 kB / 0.6896 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.702, allocations: 1.938 kB / 0.6896 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.702, allocations: 0.5938 kB / 0.6896 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.7022, allocations: 15.97 kB / 0.6897 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7022, allocations: 5.766 kB / 0.6897 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.7023, allocations: 17 kB / 0.6897 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.7023, allocations: 9.281 kB / 0.6897 GB, free: 17.62 MB / 494.1 MB 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.0001153/0.7025, allocations: 135.3 kB / 0.6898 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.7025, allocations: 15.33 kB / 0.6898 GB, free: 17.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.7029, allocations: 177.6 kB / 0.69 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.7029, allocations: 10.94 kB / 0.69 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7029, allocations: 0 / 0.69 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7029, allocations: 4.5 kB / 0.69 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.7033, allocations: 227.7 kB / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7033, allocations: 0 / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.7034, allocations: 17.05 kB / 0.6902 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7034, allocations: 2.562 kB / 0.6903 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.7034, allocations: 6.844 kB / 0.6903 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7034, allocations: 1.25 kB / 0.6903 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7034, allocations: 2.688 kB / 0.6903 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.7037, allocations: 260.9 kB / 0.6905 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.7038, allocations: 98.12 kB / 0.6906 GB, free: 17.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.7038, allocations: 4.969 kB / 0.6906 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.7039, allocations: 4.969 kB / 0.6906 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.704, allocations: 12.25 kB / 0.6906 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.704, allocations: 7.406 kB / 0.6906 GB, free: 17.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.7042, allocations: 175.5 kB / 0.6908 GB, free: 16.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7042, allocations: 0 / 0.6908 GB, free: 16.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.705, allocations: 211.3 kB / 0.691 GB, free: 16.94 MB / 494.1 MB 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.0005248/0.7055, allocations: 243.4 kB / 0.6912 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.7058, allocations: 139.4 kB / 0.6914 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7059, allocations: 1.406 kB / 0.6914 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.706, allocations: 79.25 kB / 0.6914 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.7063, allocations: 11.11 kB / 0.6915 GB, free: 16.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.7069, allocations: 331.9 kB / 0.6918 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.7072, allocations: 0.7363 MB / 0.6925 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.7073, allocations: 42.17 kB / 0.6925 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.7074, allocations: 22.31 kB / 0.6926 GB, free: 15.98 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.7074, allocations: 0 / 0.6926 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Templates: time 0.009929/0.7173, allocations: 3.772 MB / 0.6962 GB, free: 15.85 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)