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.001276/0.001276, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001269/0.001269, allocations: 187 kB / 17.34 MB, free: 5.762 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.358/1.358, 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.002336/0.002337, allocations: 284.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9796/0.9796, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 95.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4526, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002776/0.4554, allocations: 1.347 MB / 0.7684 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4577, allocations: 1.324 MB / 0.7697 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.4578, allocations: 0 / 0.7697 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.458, allocations: 19.86 kB / 0.7697 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.4595, allocations: 0.5792 MB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.559e-05/0.4596, allocations: 8 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.4597, allocations: 107.6 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4598, allocations: 4.234 kB / 0.7704 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4599, allocations: 47.77 kB / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.4601, allocations: 67.73 kB / 0.7705 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.4601, allocations: 4 kB / 0.7705 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4612, allocations: 0.7098 MB / 0.7712 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4613, allocations: 55.81 kB / 0.7712 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.4614, allocations: 55.55 kB / 0.7713 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4624, allocations: 0.6819 MB / 0.7719 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4624, allocations: 4 kB / 0.7719 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4624, allocations: 0 / 0.7719 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4624, allocations: 3.938 kB / 0.7719 GB, free: 14.95 MB / 0.545 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.000778/0.4632, allocations: 0.4924 MB / 0.7724 GB, free: 14.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4633, allocations: 8.031 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.4633, allocations: 24.59 kB / 0.7725 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.4636, allocations: 208.1 kB / 0.7727 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4636, allocations: 4.375 kB / 0.7727 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.4636, allocations: 8.359 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.464, allocations: 206.8 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.464, allocations: 0 / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.464, allocations: 4 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.912e-05/0.4641, allocations: 47.95 kB / 0.7729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.4643, allocations: 140.2 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.4652, allocations: 0.4926 MB / 0.7735 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.4654, allocations: 90.53 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.829e-05/0.4655, allocations: 56.81 kB / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4656, allocations: 0 / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4656, allocations: 30.56 kB / 0.7737 GB, free: 12.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4656, allocations: 4 kB / 0.7737 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003611/0.466, allocations: 181.3 kB / 0.7739 GB, free: 12.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.466, allocations: 55.39 kB / 0.7739 GB, free: 12.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4663, allocations: 243.6 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4663, allocations: 25.7 kB / 0.7742 GB, free: 12.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.4664, allocations: 132.1 kB / 0.7743 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4664, allocations: 31.55 kB / 0.7743 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.4665, allocations: 29.98 kB / 0.7744 GB, free: 12.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4666, allocations: 326.8 kB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.4667, allocations: 43.95 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.4668, allocations: 83.27 kB / 0.7748 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.467, allocations: 127.3 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.467, allocations: 0 / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002716/0.4673, allocations: 165.3 kB / 0.7751 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4673, allocations: 12.09 kB / 0.7751 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4673, allocations: 0 / 0.7751 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4674, allocations: 0 / 0.7751 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4675, allocations: 19.92 kB / 0.7751 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4675, allocations: 7.938 kB / 0.7751 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.4676, allocations: 15.75 kB / 0.7751 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4676, allocations: 8 kB / 0.7751 GB, free: 11.43 MB / 0.545 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.0001339/0.4677, allocations: 136.2 kB / 0.7753 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.4678, allocations: 11.81 kB / 0.7753 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.4681, allocations: 175 kB / 0.7754 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.4681, allocations: 4 kB / 0.7754 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4681, allocations: 11.92 kB / 0.7755 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4681, allocations: 0 / 0.7755 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.4685, allocations: 237.6 kB / 0.7757 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4685, allocations: 0 / 0.7757 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.4686, allocations: 11.98 kB / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4686, allocations: 4 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4686, allocations: 4 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4686, allocations: 7.938 kB / 0.7757 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4686, allocations: 3.938 kB / 0.7757 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.4689, allocations: 259.3 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.469, allocations: 89.02 kB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.469, allocations: 11.92 kB / 0.7761 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.4691, allocations: 0 / 0.7761 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.4691, allocations: 7.938 kB / 0.7761 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4691, allocations: 7.984 kB / 0.7761 GB, free: 10.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002092/0.4694, allocations: 184.4 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4694, allocations: 0 / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006247/0.47, allocations: 212 kB / 0.7765 GB, free: 9.977 MB / 0.545 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.000673/0.4707, allocations: 239.1 kB / 0.7767 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.4709, allocations: 135.7 kB / 0.7768 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.471, allocations: 0 / 0.7768 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.4711, allocations: 75.94 kB / 0.7769 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4713, allocations: 12.19 kB / 0.7769 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.4719, allocations: 372.5 kB / 0.7773 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4724, allocations: 0.7434 MB / 0.778 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.4725, allocations: 23.44 kB / 0.778 GB, free: 8.324 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4725, allocations: 0 / 0.778 GB, free: 8.324 MB / 0.545 GB Notification: Performance of Templates: time 0.006811/0.4793, allocations: 3.833 MB / 0.7817 GB, free: 4.492 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)