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.005109/0.005109, allocations: 99.58 kB / 15.73 MB, free: 6.02 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.001219/0.001219, allocations: 192.4 kB / 16.67 MB, free: 5.938 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 282.8 kB / 290.8 MB, free: 1.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8722/0.8722, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 88.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1435, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002435/0.146, allocations: 1.381 MB / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1479, allocations: 1.333 MB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.148, allocations: 4 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1481, allocations: 11.86 kB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1496, allocations: 0.5953 MB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.517e-05/0.1496, allocations: 3.984 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1498, allocations: 127.6 kB / 0.7693 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.1499, allocations: 11.98 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.15, allocations: 63.75 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1502, allocations: 71.78 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1502, allocations: 8 kB / 0.7694 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009186/0.1511, allocations: 0.7097 MB / 0.7701 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1512, allocations: 67.8 kB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.1513, allocations: 67.47 kB / 0.7703 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.1522, allocations: 0.6976 MB / 0.7709 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1522, allocations: 0 / 0.7709 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1522, allocations: 3.938 kB / 0.7709 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1522, allocations: 4 kB / 0.7709 GB, free: 3.75 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.0006237/0.1528, allocations: 0.5212 MB / 0.7714 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1529, allocations: 8.031 kB / 0.7715 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.1529, allocations: 50.73 kB / 0.7715 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.153, allocations: 24.73 kB / 0.7715 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1532, allocations: 218.2 kB / 0.7717 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1532, allocations: 12.38 kB / 0.7717 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1532, allocations: 8.359 kB / 0.7718 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1535, allocations: 231.9 kB / 0.772 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1536, allocations: 4 kB / 0.772 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1536, allocations: 3.984 kB / 0.772 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.807e-05/0.1537, allocations: 59.94 kB / 0.772 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1539, allocations: 160.2 kB / 0.7722 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.1548, allocations: 0.5399 MB / 0.7727 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.155, allocations: 86.52 kB / 0.7728 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.1551, allocations: 48.83 kB / 0.7729 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1551, allocations: 7.938 kB / 0.7729 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1552, allocations: 34.56 kB / 0.7729 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.1552, allocations: 0 / 0.7729 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003482/0.1555, allocations: 169.5 kB / 0.7731 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1556, allocations: 59.34 kB / 0.7731 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1558, allocations: 240.1 kB / 0.7733 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1558, allocations: 33.7 kB / 0.7734 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.1559, allocations: 148.1 kB / 0.7735 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1559, allocations: 31.78 kB / 0.7735 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.156, allocations: 33.7 kB / 0.7736 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.1561, allocations: 326.8 kB / 0.7739 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.1562, allocations: 47.95 kB / 0.7739 GB, free: 472 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.1563, allocations: 91 kB / 0.774 GB, free: 368 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1565, allocations: 136.2 kB / 0.7741 GB, free: 216 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1565, allocations: 3.938 kB / 0.7742 GB, free: 212 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002487/0.1567, allocations: 193.3 kB / 0.7743 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1567, allocations: 4 kB / 0.7743 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1568, allocations: 4 kB / 0.7743 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1568, allocations: 0 / 0.7743 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2806/0.4373, allocations: 20.06 kB / 0.7744 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4374, allocations: 1.906 kB / 0.7744 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.4375, allocations: 17.8 kB / 0.7744 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.4375, allocations: 10.77 kB / 0.7744 GB, free: 14.21 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.0001146/0.4376, allocations: 137.8 kB / 0.7745 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.4377, allocations: 22.67 kB / 0.7745 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.4381, allocations: 173.4 kB / 0.7747 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.4381, allocations: 6.234 kB / 0.7747 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4381, allocations: 1.281 kB / 0.7747 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4381, allocations: 2.141 kB / 0.7747 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.4384, allocations: 244 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4384, allocations: 0.5938 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.4385, allocations: 13.83 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4386, allocations: 5.75 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4386, allocations: 3.5 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4386, allocations: 1.5 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4386, allocations: 1.375 kB / 0.775 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4388, allocations: 252.9 kB / 0.7752 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.4389, allocations: 104.3 kB / 0.7753 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4389, allocations: 2.25 kB / 0.7753 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.439, allocations: 6.203 kB / 0.7753 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.4391, allocations: 10.39 kB / 0.7753 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4391, allocations: 8.234 kB / 0.7753 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001381/0.4392, allocations: 185.1 kB / 0.7755 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4392, allocations: 1.812 kB / 0.7755 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005494/0.4398, allocations: 216.5 kB / 0.7757 GB, free: 13.56 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.0007457/0.4405, allocations: 0.9315 MB / 0.7766 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.4408, allocations: 139.5 kB / 0.7768 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4409, allocations: 0 / 0.7768 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.441, allocations: 68.8 kB / 0.7768 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4412, allocations: 11.41 kB / 0.7768 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.4433, allocations: 2.397 MB / 0.7792 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.4434, allocations: 0.7487 MB / 0.7799 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.4435, allocations: 43.2 kB / 0.78 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.4436, allocations: 62.97 kB / 0.78 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4437, allocations: 3.344 kB / 0.78 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4641, allocations: 6.077 MB / 0.786 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.283, allocations: 9.875 kB / 0.786 GB, free: 10.4 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)