Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.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.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",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.001281/0.001281, 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.001313/0.001313, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 282.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8869/0.8869, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 100.6 kB / 0.5953 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002961/0.1586, allocations: 1.226 MB / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.1595, allocations: 474 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.1596, allocations: 0 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.1597, allocations: 0 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.1598, allocations: 11.91 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.16, allocations: 15.92 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.1601, allocations: 26.42 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.1602, allocations: 7.984 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1603, allocations: 11.94 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.1604, allocations: 4 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1604, allocations: 4 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1605, allocations: 24.69 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1606, allocations: 0 / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1606, allocations: 9.656 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1607, allocations: 32.19 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1607, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1607, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1608, allocations: 7.938 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004359/0.1612, allocations: 316.5 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1612, allocations: 8.562 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1613, allocations: 31.88 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1613, allocations: 8.828 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1615, allocations: 164.4 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1615, allocations: 5.312 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1615, allocations: 384 / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1616, allocations: 41.77 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1616, allocations: 3.984 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1616, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1617, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.1617, allocations: 4 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1619, allocations: 157.6 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.1619, allocations: 22.61 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.162, allocations: 12.92 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.1622, allocations: 89.09 kB / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1623, allocations: 42.44 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1623, allocations: 0 / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000145/0.1624, allocations: 41.69 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.1625, allocations: 51.41 kB / 0.683 GB, free: 13.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.1625, allocations: 97.97 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1626, allocations: 29.7 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.1626, allocations: 88.14 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1626, allocations: 3.906 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1627, allocations: 13.66 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1628, allocations: 314.8 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.1628, allocations: 7.984 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.1629, allocations: 4 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.1629, allocations: 16.86 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1629, allocations: 0 / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.881e-05/0.163, allocations: 45.62 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.163, allocations: 8 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.163, allocations: 0 / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.163, allocations: 0 / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.1631, allocations: 11.94 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1631, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.1631, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1631, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 7.103e-05/0.1632, allocations: 115.2 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1632, allocations: 3.938 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1634, allocations: 68.81 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1635, allocations: 153.7 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1636, allocations: 0 / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1636, allocations: 7.938 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1636, allocations: 8 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1636, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1636, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1636, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.1637, allocations: 69.06 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1638, allocations: 81.05 kB / 0.6841 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1638, allocations: 0 / 0.6841 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.1639, allocations: 7.984 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.1639, allocations: 4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1639, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.1639, allocations: 83.28 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1639, allocations: 0 / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.1641, allocations: 12 kB / 0.6842 GB, free: 12.21 MB / 494.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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0004311/0.1646, allocations: 0.6259 MB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.1647, allocations: 11.98 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1647, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.1647, allocations: 8 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1649, allocations: 7.984 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.1653, allocations: 152.2 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1656, allocations: 0.6807 MB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.1656, allocations: 7.938 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1657, allocations: 7.438 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1657, allocations: 0 / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/0.4917, allocations: 1.311 MB / 0.687 GB, free: 9.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.575, allocations: 21.34 kB / 0.687 GB, free: 9.418 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces.fmu > BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe 2>&1)