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: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000892/0.0008919, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008971/0.0008971, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00164/0.00164, allocations: 266.8 kB / 291.3 MB, free: 1.977 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7442/0.7442, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 14.81 kB / 0.5683 GB, free: 38.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 83.08 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.001197/0.1485, allocations: 1.076 MB / 0.6505 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.15, allocations: 1.246 MB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.1501, allocations: 0 / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.1501, allocations: 11.92 kB / 0.6517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.1508, allocations: 350.2 kB / 0.652 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.813e-06/0.1508, allocations: 0 / 0.652 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.1509, allocations: 75.81 kB / 0.6521 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.151, allocations: 7.984 kB / 0.6521 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.1511, allocations: 51.83 kB / 0.6522 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.1512, allocations: 59.81 kB / 0.6522 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1512, allocations: 4.5 kB / 0.6522 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.1518, allocations: 0.5615 MB / 0.6528 GB, free: 140 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.1519, allocations: 64.53 kB / 0.6528 GB, free: 76 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1519, allocations: 46.17 kB / 0.6529 GB, free: 24 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.1524, allocations: 495.5 kB / 0.6534 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.1524, allocations: 0.5312 kB / 0.6534 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1524, allocations: 0.625 kB / 0.6534 GB, free: 15.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1525, allocations: 0 / 0.6534 GB, free: 15.54 MB / 462.1 MB 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.0004895/0.1529, allocations: 499.8 kB / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.153, allocations: 8.031 kB / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.153, allocations: 29.28 kB / 0.6539 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1532, allocations: 202.7 kB / 0.6541 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1533, allocations: 7.984 kB / 0.6541 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1533, allocations: 11.98 kB / 0.6541 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1536, allocations: 227.3 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1536, allocations: 0.5938 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1536, allocations: 0 / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-05/0.1537, allocations: 57.45 kB / 0.6544 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.1539, allocations: 160.2 kB / 0.6545 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.1547, allocations: 0.5341 MB / 0.655 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1549, allocations: 97.06 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.155, allocations: 4.062 kB / 0.6551 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.155, allocations: 38.55 kB / 0.6552 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.155, allocations: 0.7188 kB / 0.6552 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003324/0.1553, allocations: 250.5 kB / 0.6554 GB, free: 13.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1554, allocations: 56.66 kB / 0.6555 GB, free: 13.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1556, allocations: 244 kB / 0.6557 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1556, allocations: 26.42 kB / 0.6557 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.1557, allocations: 143.9 kB / 0.6559 GB, free: 12.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1557, allocations: 28.52 kB / 0.6559 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.1557, allocations: 4 kB / 0.6559 GB, free: 12.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1558, allocations: 327.4 kB / 0.6562 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1559, allocations: 49.92 kB / 0.6562 GB, free: 12.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.156, allocations: 88.19 kB / 0.6563 GB, free: 12.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.1561, allocations: 53.44 kB / 0.6564 GB, free: 12.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1561, allocations: 4.75 kB / 0.6564 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002532/0.1564, allocations: 187.5 kB / 0.6566 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1564, allocations: 7.938 kB / 0.6566 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1564, allocations: 0 / 0.6566 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1564, allocations: 4 kB / 0.6566 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1566, allocations: 19.98 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1566, allocations: 2.031 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.1567, allocations: 15.75 kB / 0.6566 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1567, allocations: 11.98 kB / 0.6566 GB, free: 11.97 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1568, allocations: 142.4 kB / 0.6568 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1569, allocations: 17.08 kB / 0.6568 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1572, allocations: 175.8 kB / 0.6569 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.1572, allocations: 4 kB / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1572, allocations: 4.656 kB / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1572, allocations: 6.453 kB / 0.657 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.1575, allocations: 233.7 kB / 0.6572 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1575, allocations: 7.875 kB / 0.6572 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1576, allocations: 19.92 kB / 0.6572 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1576, allocations: 3.953 kB / 0.6572 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1576, allocations: 4 kB / 0.6572 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1576, allocations: 3.984 kB / 0.6572 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1577, allocations: 2.062 kB / 0.6572 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1579, allocations: 247.3 kB / 0.6575 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.158, allocations: 108.8 kB / 0.6576 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.158, allocations: 4.578 kB / 0.6576 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.1581, allocations: 5 kB / 0.6576 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1581, allocations: 11.98 kB / 0.6576 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1582, allocations: 4 kB / 0.6576 GB, free: 10.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1583, allocations: 189.3 kB / 0.6578 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1583, allocations: 0 / 0.6578 GB, free: 10.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.1588, allocations: 216 kB / 0.658 GB, free: 10.5 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004289/0.1592, allocations: 243.1 kB / 0.6582 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1595, allocations: 131.8 kB / 0.6583 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1595, allocations: 0 / 0.6583 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.1596, allocations: 68.14 kB / 0.6584 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1597, allocations: 16.67 kB / 0.6584 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.1603, allocations: 408.9 kB / 0.6588 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1606, allocations: 0.7516 MB / 0.6595 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.1607, allocations: 37.41 kB / 0.6596 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1608, allocations: 23.42 kB / 0.6596 GB, free: 8.781 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1608, allocations: 0 / 0.6596 GB, free: 8.781 MB / 462.1 MB Notification: Performance of Templates: time 0.006073/0.1668, allocations: 3.933 MB / 0.6634 GB, free: 4.875 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1) Environment - environmentSimulation: