Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",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.004777/0.004777, allocations: 98.3 kB / 15.73 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.001095/0.001095, allocations: 193 kB / 16.67 MB, free: 5.949 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.384/1.384, 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.002578/0.002578, allocations: 287 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 91.86 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1689, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002288/0.1712, allocations: 1.389 MB / 0.7673 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1733, allocations: 1.325 MB / 0.7686 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1733, allocations: 4 kB / 0.7686 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.968e-05/0.1734, allocations: 15.84 kB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1747, allocations: 0.5992 MB / 0.7692 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.417e-06/0.1747, allocations: 0 / 0.7692 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1749, allocations: 131.5 kB / 0.7693 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.175, allocations: 7.984 kB / 0.7693 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1751, allocations: 63.75 kB / 0.7694 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1752, allocations: 79.77 kB / 0.7694 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1753, allocations: 4 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.1761, allocations: 0.7097 MB / 0.7701 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1763, allocations: 63.81 kB / 0.7702 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.1763, allocations: 67.47 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.1772, allocations: 0.7015 MB / 0.7709 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1772, allocations: 0 / 0.7709 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1772, allocations: 0 / 0.7709 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1772, allocations: 0 / 0.7709 GB, free: 3.793 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00063/0.1778, allocations: 0.5212 MB / 0.7714 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1779, allocations: 8.031 kB / 0.7715 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.1779, allocations: 54.72 kB / 0.7715 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.178, allocations: 24.73 kB / 0.7715 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1782, allocations: 208 kB / 0.7717 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1782, allocations: 16.36 kB / 0.7717 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1783, allocations: 4.375 kB / 0.7717 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1786, allocations: 230.7 kB / 0.772 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1787, allocations: 0 / 0.772 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1787, allocations: 11.92 kB / 0.772 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.939e-05/0.1788, allocations: 55.94 kB / 0.772 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.179, allocations: 160.2 kB / 0.7722 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/0.18, allocations: 0.5438 MB / 0.7727 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1802, allocations: 86.58 kB / 0.7728 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.1803, allocations: 48.83 kB / 0.7728 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1803, allocations: 3.938 kB / 0.7728 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1804, allocations: 34.56 kB / 0.7729 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1804, allocations: 0 / 0.7729 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003626/0.1807, allocations: 181.4 kB / 0.7731 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1808, allocations: 55.41 kB / 0.7731 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.181, allocations: 244.1 kB / 0.7733 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1811, allocations: 25.7 kB / 0.7734 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1812, allocations: 152.1 kB / 0.7735 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1812, allocations: 23.8 kB / 0.7735 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.1813, allocations: 33.7 kB / 0.7736 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1814, allocations: 326.8 kB / 0.7739 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.1815, allocations: 51.95 kB / 0.7739 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1816, allocations: 84.25 kB / 0.774 GB, free: 416 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1819, allocations: 136.2 kB / 0.7741 GB, free: 264 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1819, allocations: 7.938 kB / 0.7741 GB, free: 256 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.1822, allocations: 185.3 kB / 0.7743 GB, free: 64 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1822, allocations: 8 kB / 0.7743 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1822, allocations: 0 / 0.7743 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1822, allocations: 0 / 0.7743 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1824, allocations: 23.92 kB / 0.7743 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1824, allocations: 4 kB / 0.7744 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1826, allocations: 23.77 kB / 0.7744 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3129/0.4954, allocations: 14.12 kB / 0.7744 GB, free: 14.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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.0001501/0.4956, allocations: 132.4 kB / 0.7745 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.4957, allocations: 21.42 kB / 0.7745 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.4961, allocations: 171.4 kB / 0.7747 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.4961, allocations: 5.828 kB / 0.7747 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4961, allocations: 1.25 kB / 0.7747 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4962, allocations: 5.734 kB / 0.7747 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.4965, allocations: 245.8 kB / 0.7749 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4965, allocations: 1.219 kB / 0.7749 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.4967, allocations: 16.05 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4967, allocations: 1.688 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4967, allocations: 3.828 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4967, allocations: 5.891 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4967, allocations: 1.375 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.497, allocations: 252.5 kB / 0.7752 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.4971, allocations: 96.8 kB / 0.7753 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.4971, allocations: 4.5 kB / 0.7753 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4972, allocations: 7.5 kB / 0.7753 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.4973, allocations: 14.45 kB / 0.7753 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4973, allocations: 6.562 kB / 0.7753 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001709/0.4975, allocations: 184.9 kB / 0.7755 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4975, allocations: 1.5 kB / 0.7755 GB, free: 14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007373/0.4982, allocations: 223.5 kB / 0.7757 GB, free: 14 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.0008285/0.499, allocations: 0.9162 MB / 0.7766 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.4994, allocations: 135.8 kB / 0.7768 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4994, allocations: 0.6562 kB / 0.7768 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4995, allocations: 70.48 kB / 0.7768 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.4999, allocations: 18.84 kB / 0.7768 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.5023, allocations: 2.399 MB / 0.7792 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.5025, allocations: 0.7481 MB / 0.7799 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.5026, allocations: 40.7 kB / 0.78 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.5028, allocations: 62.44 kB / 0.78 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5028, allocations: 3.844 kB / 0.78 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.5449, allocations: 6.088 MB / 0.786 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.918, allocations: 10.52 kB / 0.786 GB, free: 10.84 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)