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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001145, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 278.8 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8296/0.8296, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 99.42 kB / 0.5946 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1375, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.001991/0.1396, allocations: 1.295 MB / 0.6808 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006002/0.1402, allocations: 470 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.1402, allocations: 4 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1402, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.1403, allocations: 8.578 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.1404, allocations: 19.91 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.987e-05/0.1405, allocations: 16.53 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.1405, allocations: 0.875 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.1406, allocations: 19.86 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.1406, allocations: 8.516 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1406, allocations: 1.219 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.1407, allocations: 15.98 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-06/0.1407, allocations: 4.781 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1407, allocations: 11.94 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.534e-05/0.1408, allocations: 28.17 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1408, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1408, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1408, allocations: 0 / 0.6814 GB, free: 15.2 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.0002974/0.1412, allocations: 323.6 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1412, allocations: 11.97 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1412, allocations: 34.69 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.1412, allocations: 8.844 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.1413, allocations: 160.4 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1413, allocations: 384 / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.1414, allocations: 4.375 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.1414, allocations: 41.81 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1415, allocations: 4 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1415, allocations: 0 / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1415, allocations: 0 / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.1415, allocations: 4 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1417, allocations: 157.6 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.35e-05/0.1417, allocations: 26.55 kB / 0.6821 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.1417, allocations: 8.922 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.1419, allocations: 93.08 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.142, allocations: 42.5 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.142, allocations: 0 / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001109/0.1421, allocations: 37.64 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1421, allocations: 59.52 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.1422, allocations: 97.86 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.1422, allocations: 25.7 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.1422, allocations: 84.14 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1423, allocations: 3.906 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1423, allocations: 17.7 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.1424, allocations: 314.8 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.1424, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.1424, allocations: 8 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.1424, allocations: 12.86 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1425, allocations: 0 / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.759e-05/0.1425, allocations: 45.56 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.1425, allocations: 8 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1425, allocations: 0 / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.1426, allocations: 0 / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.1426, allocations: 4 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1426, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.1426, allocations: 12.03 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.1426, allocations: 3.938 kB / 0.683 GB, free: 13.33 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 5.461e-05/0.1427, allocations: 115.1 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1427, allocations: 4.125 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1428, allocations: 56.7 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1428, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1428, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1428, allocations: 0 / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.1429, allocations: 157.6 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.143, allocations: 4 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.143, allocations: 7.938 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.143, allocations: 4 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.143, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.143, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.143, allocations: 3.984 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.072e-05/0.1431, allocations: 69.12 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.1431, allocations: 81.05 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1431, allocations: 4 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.1432, allocations: 8 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.1432, allocations: 0 / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1432, allocations: 0 / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.1432, allocations: 79.28 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001838/0.1434, allocations: 15.98 kB / 0.6836 GB, free: 12.63 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.0003086/0.1437, allocations: 0.6162 MB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.1438, allocations: 15.98 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1438, allocations: 0 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.1438, allocations: 11.94 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.144, allocations: 3 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1443, allocations: 163.6 kB / 0.6843 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.1445, allocations: 0.6731 MB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.1446, allocations: 7.938 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1446, allocations: 15.42 kB / 0.685 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1446, allocations: 0 / 0.685 GB, free: 11.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8584/1.003, allocations: 1.196 MB / 0.6862 GB, free: 9.992 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.003, allocations: 228.1 kB / 0.6864 GB, free: 9.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.867, allocations: 3.609 kB / 0.6864 GB, free: 9.738 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)