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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 279.2 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 97.97 kB / 0.6065 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002673/0.1563, allocations: 1.357 MB / 0.6949 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1585, allocations: 1.326 MB / 0.6962 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.1586, allocations: 4 kB / 0.6962 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.841e-05/0.1587, allocations: 11.86 kB / 0.6962 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.1601, allocations: 0.5792 MB / 0.6968 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.007e-06/0.1601, allocations: 0 / 0.6968 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1602, allocations: 99.7 kB / 0.6969 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1603, allocations: 20.14 kB / 0.6969 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.1604, allocations: 47.83 kB / 0.697 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1605, allocations: 67.67 kB / 0.697 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1606, allocations: 12 kB / 0.697 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008863/0.1615, allocations: 0.7059 MB / 0.6977 GB, free: 12 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.1616, allocations: 51.89 kB / 0.6978 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.1616, allocations: 59.53 kB / 0.6978 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000807/0.1625, allocations: 0.6785 MB / 0.6985 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1625, allocations: 0 / 0.6985 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1625, allocations: 0 / 0.6985 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1625, allocations: 0 / 0.6985 GB, free: 15.22 MB / 0.4981 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.0006264/0.1631, allocations: 0.4911 MB / 0.699 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1632, allocations: 8.031 kB / 0.699 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.1632, allocations: 58.66 kB / 0.699 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1633, allocations: 16.75 kB / 0.699 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1635, allocations: 200.1 kB / 0.6992 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1635, allocations: 8.359 kB / 0.6992 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1636, allocations: 8.359 kB / 0.6993 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.1639, allocations: 206.6 kB / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1639, allocations: 0 / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1639, allocations: 7.922 kB / 0.6995 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.197e-05/0.164, allocations: 51.95 kB / 0.6995 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1642, allocations: 144.2 kB / 0.6996 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.1651, allocations: 0.4926 MB / 0.7001 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1653, allocations: 86.53 kB / 0.7002 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.1654, allocations: 56.81 kB / 0.7003 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1655, allocations: 4 kB / 0.7003 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1655, allocations: 30.56 kB / 0.7003 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.377e-06/0.1655, allocations: 0 / 0.7003 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003798/0.1659, allocations: 193.3 kB / 0.7005 GB, free: 13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1659, allocations: 55.34 kB / 0.7005 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1662, allocations: 234.9 kB / 0.7008 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1662, allocations: 25.7 kB / 0.7008 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.1663, allocations: 136.2 kB / 0.7009 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1664, allocations: 27.56 kB / 0.7009 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1664, allocations: 33.59 kB / 0.701 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1666, allocations: 334.8 kB / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.1667, allocations: 39.97 kB / 0.7013 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1668, allocations: 79.27 kB / 0.7014 GB, free: 12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.167, allocations: 127.3 kB / 0.7015 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.167, allocations: 0 / 0.7015 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002681/0.1673, allocations: 169.7 kB / 0.7017 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1673, allocations: 4 kB / 0.7017 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1673, allocations: 4 kB / 0.7017 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1673, allocations: 0 / 0.7017 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1674, allocations: 28.14 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1674, allocations: 3.938 kB / 0.7017 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.1675, allocations: 15.78 kB / 0.7017 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1676, allocations: 8 kB / 0.7017 GB, free: 11.63 MB / 0.4981 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.000125/0.1677, allocations: 133.8 kB / 0.7019 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.1677, allocations: 15.81 kB / 0.7019 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.168, allocations: 174.9 kB / 0.7021 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.1681, allocations: 8 kB / 0.7021 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.1681, allocations: 3.938 kB / 0.7021 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1681, allocations: 0 / 0.7021 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.1684, allocations: 233.5 kB / 0.7023 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1684, allocations: 0 / 0.7023 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.1685, allocations: 12 kB / 0.7023 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1686, allocations: 3.984 kB / 0.7023 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1686, allocations: 11.98 kB / 0.7023 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1686, allocations: 0 / 0.7023 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1686, allocations: 3.938 kB / 0.7023 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1689, allocations: 251.2 kB / 0.7026 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.169, allocations: 104.8 kB / 0.7027 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.169, allocations: 0 / 0.7027 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1691, allocations: 0 / 0.7027 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1692, allocations: 15.92 kB / 0.7027 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1692, allocations: 4 kB / 0.7027 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000169/0.1694, allocations: 176.6 kB / 0.7028 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1694, allocations: 0 / 0.7028 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005799/0.17, allocations: 216 kB / 0.7031 GB, free: 10.19 MB / 0.4981 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.001053/0.171, allocations: 0.9191 MB / 0.7039 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.1713, allocations: 139.8 kB / 0.7041 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1713, allocations: 192 / 0.7041 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1714, allocations: 84.09 kB / 0.7042 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1717, allocations: 19.28 kB / 0.7042 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.1745, allocations: 2.312 MB / 0.7064 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1749, allocations: 0.7357 MB / 0.7072 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.1751, allocations: 41.06 kB / 0.7072 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.1752, allocations: 47.42 kB / 0.7072 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1752, allocations: 0 / 0.7072 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.203, allocations: 5.763 MB / 0.7129 GB, free: 172 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.999, allocations: 5.969 kB / 0.7129 GB, free: 168 kB / 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_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_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)