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.006811/0.006811, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001534/0.001534, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002724/0.002724, allocations: 275.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 91.84 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1681, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.002421/0.1706, allocations: 1.245 MB / 0.7671 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.1714, allocations: 474.8 kB / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1715, allocations: 0 / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1715, allocations: 0 / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.1716, allocations: 7.922 kB / 0.7675 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1717, allocations: 19.91 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.1718, allocations: 19.88 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.1719, allocations: 3.984 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.1719, allocations: 7.984 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.172, allocations: 11.94 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.172, allocations: 4 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.1721, allocations: 23.91 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1721, allocations: 4 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1722, allocations: 7.938 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.316e-05/0.1723, allocations: 24.19 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1723, allocations: 0 / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1723, allocations: 0 / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1723, allocations: 0 / 0.7677 GB, free: 7.098 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003713/0.1727, allocations: 339.4 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1727, allocations: 8.031 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.1727, allocations: 30.75 kB / 0.768 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1728, allocations: 4.922 kB / 0.768 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1729, allocations: 164.4 kB / 0.7682 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.1729, allocations: 384 / 0.7682 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1729, allocations: 384 / 0.7682 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.173, allocations: 49.7 kB / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.173, allocations: 0 / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.1731, allocations: 7.984 kB / 0.7682 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1731, allocations: 0 / 0.7682 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.1731, allocations: 7.938 kB / 0.7682 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1733, allocations: 153.7 kB / 0.7684 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.1733, allocations: 22.59 kB / 0.7684 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.1734, allocations: 12.92 kB / 0.7684 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.1736, allocations: 93.09 kB / 0.7685 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1736, allocations: 42.44 kB / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1737, allocations: 0 / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.1738, allocations: 41.69 kB / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1738, allocations: 51.41 kB / 0.7686 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.1739, allocations: 97.84 kB / 0.7687 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1739, allocations: 25.7 kB / 0.7688 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.174, allocations: 80.27 kB / 0.7688 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.174, allocations: 15.95 kB / 0.7689 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.174, allocations: 9.719 kB / 0.7689 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1742, allocations: 314.8 kB / 0.7692 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.1742, allocations: 3.984 kB / 0.7692 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.1742, allocations: 8 kB / 0.7692 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.1743, allocations: 12.8 kB / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1743, allocations: 0 / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.451e-05/0.1744, allocations: 53.64 kB / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1744, allocations: 8 kB / 0.7692 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1744, allocations: 0 / 0.7692 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1744, allocations: 0 / 0.7692 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.1745, allocations: 4 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1745, allocations: 0 / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.1745, allocations: 0 / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1745, allocations: 0 / 0.7693 GB, free: 5.219 MB / 0.5606 GB 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 8.638e-05/0.1746, allocations: 110.5 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1746, allocations: 7.969 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1748, allocations: 60.73 kB / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1748, allocations: 0 / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1748, allocations: 0 / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1748, allocations: 3.938 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1749, allocations: 149.7 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1749, allocations: 0 / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.175, allocations: 7.938 kB / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.175, allocations: 4 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.175, allocations: 3.938 kB / 0.7696 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.175, allocations: 4 kB / 0.7696 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.175, allocations: 0 / 0.7696 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.1751, allocations: 73.06 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1752, allocations: 85 kB / 0.7697 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1752, allocations: 0 / 0.7697 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.1752, allocations: 11.98 kB / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1753, allocations: 0 / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1753, allocations: 0 / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.1753, allocations: 87.56 kB / 0.7698 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.1753, allocations: 0 / 0.7698 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000263/0.1756, allocations: 11.94 kB / 0.7698 GB, free: 4.512 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 (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.0004633/0.1761, allocations: 0.6163 MB / 0.7704 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.1761, allocations: 15.98 kB / 0.7705 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1762, allocations: 4.062 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.1762, allocations: 8 kB / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1765, allocations: 7.938 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1769, allocations: 156.7 kB / 0.7706 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1772, allocations: 0.6768 MB / 0.7713 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.1773, allocations: 0 / 0.7713 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1773, allocations: 15.44 kB / 0.7713 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1773, allocations: 0 / 0.7713 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2935/0.4709, allocations: 1.33 MB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.871, allocations: 22.48 kB / 0.7726 GB, free: 1.715 MB / 0.5606 GB (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)