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.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001257/0.001257, allocations: 194.5 kB / 16.25 MB, free: 6.617 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 278.5 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8565/0.8565, allocations: 169.2 MB / 0.4978 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 95.66 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1339, allocations: 86.98 MB / 0.6797 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002237/0.1362, allocations: 1.405 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1379, allocations: 1.337 MB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.138, allocations: 0 / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.1381, allocations: 13.89 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1392, allocations: 0.529 MB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.526e-06/0.1392, allocations: 0 / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1393, allocations: 99.7 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.1394, allocations: 8.234 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.1395, allocations: 59.75 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1396, allocations: 71.67 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1396, allocations: 4 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007233/0.1404, allocations: 0.702 MB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1404, allocations: 55.89 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1405, allocations: 59.52 kB / 0.684 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.1412, allocations: 0.6785 MB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1412, allocations: 0 / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1412, allocations: 0 / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1412, allocations: 4 kB / 0.6846 GB, free: 11.96 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.0005152/0.1417, allocations: 0.495 MB / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1418, allocations: 8.031 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1418, allocations: 46.73 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1419, allocations: 20.59 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.142, allocations: 210.2 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.142, allocations: 4.375 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1421, allocations: 8.359 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1423, allocations: 215.2 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1423, allocations: 4 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1424, allocations: 0 / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/0.1424, allocations: 47.95 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.1426, allocations: 140.8 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.1433, allocations: 0.5042 MB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1435, allocations: 90.53 kB / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1436, allocations: 56.81 kB / 0.6864 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1436, allocations: 4 kB / 0.6864 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1436, allocations: 30.56 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1436, allocations: 0 / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003099/0.144, allocations: 193.2 kB / 0.6866 GB, free: 9.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.144, allocations: 59.34 kB / 0.6867 GB, free: 9.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1442, allocations: 235 kB / 0.6869 GB, free: 9.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1442, allocations: 25.7 kB / 0.6869 GB, free: 9.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1443, allocations: 132.2 kB / 0.6871 GB, free: 9.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1443, allocations: 31.55 kB / 0.6871 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1444, allocations: 25.7 kB / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.1445, allocations: 326.8 kB / 0.6874 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.1445, allocations: 47.95 kB / 0.6875 GB, free: 8.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.1446, allocations: 75.39 kB / 0.6876 GB, free: 8.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1448, allocations: 127.2 kB / 0.6877 GB, free: 8.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1448, allocations: 0 / 0.6877 GB, free: 8.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002114/0.145, allocations: 161.4 kB / 0.6878 GB, free: 8.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.145, allocations: 8.094 kB / 0.6878 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.145, allocations: 0 / 0.6878 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.145, allocations: 4 kB / 0.6878 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1452, allocations: 23.92 kB / 0.6879 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1452, allocations: 4.312 kB / 0.6879 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.1452, allocations: 19.69 kB / 0.6879 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1453, allocations: 8 kB / 0.6879 GB, free: 8.371 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 9.255e-05/0.1454, allocations: 134.5 kB / 0.688 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1454, allocations: 19.75 kB / 0.688 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.1457, allocations: 174.9 kB / 0.6882 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.1457, allocations: 7.984 kB / 0.6882 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1457, allocations: 3.938 kB / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1457, allocations: 0 / 0.6882 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.146, allocations: 229.6 kB / 0.6884 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.146, allocations: 0 / 0.6884 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.1461, allocations: 12 kB / 0.6885 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1461, allocations: 0 / 0.6885 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1461, allocations: 8 kB / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1461, allocations: 0 / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1461, allocations: 7.922 kB / 0.6885 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1463, allocations: 247.2 kB / 0.6887 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1464, allocations: 104.8 kB / 0.6888 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1464, allocations: 7.938 kB / 0.6888 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1465, allocations: 0 / 0.6888 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.1465, allocations: 11.92 kB / 0.6888 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1466, allocations: 12.12 kB / 0.6888 GB, free: 7.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1467, allocations: 172.6 kB / 0.689 GB, free: 7.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1467, allocations: 0 / 0.689 GB, free: 7.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.1471, allocations: 208 kB / 0.6892 GB, free: 6.938 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.0007624/0.1479, allocations: 0.9193 MB / 0.6901 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1481, allocations: 151.8 kB / 0.6902 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1482, allocations: 4 kB / 0.6902 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.1483, allocations: 79.81 kB / 0.6903 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1485, allocations: 19.8 kB / 0.6903 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1506, allocations: 2.349 MB / 0.6926 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1508, allocations: 0.7357 MB / 0.6933 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.151, allocations: 45 kB / 0.6934 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.1511, allocations: 51.42 kB / 0.6934 GB, free: 2.449 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1511, allocations: 0 / 0.6934 GB, free: 2.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.455/2.606, allocations: 5.675 MB / 0.699 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/2.606, allocations: 274.5 kB / 0.6992 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/4.564, allocations: 0 / 0.6992 GB, free: 12.64 MB / 0.4981 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)