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.0008336/0.0008336, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004755/0.004755, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.197/1.197, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 274.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8687/0.8687, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 14.31 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces): time 0.001104/0.1425, allocations: 0.961 MB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.1432, allocations: 469.6 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.135e-05/0.1432, allocations: 2.312 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.1432, allocations: 0 / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.1432, allocations: 3.984 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1434, allocations: 15.92 kB / 0.6866 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.1434, allocations: 23.86 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.1435, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.1435, allocations: 14.61 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.1436, allocations: 11.98 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1436, allocations: 0 / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.1437, allocations: 23.92 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1437, allocations: 0 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.1437, allocations: 33.64 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.1438, allocations: 29.81 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1438, allocations: 0 / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1438, allocations: 0 / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.1438, allocations: 0 / 0.6868 GB, free: 13.36 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.0002827/0.1441, allocations: 322.1 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1442, allocations: 8.031 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1442, allocations: 38.62 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.1442, allocations: 4.938 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.1443, allocations: 168.3 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1443, allocations: 1.156 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1444, allocations: 4.359 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.537e-05/0.1444, allocations: 38.39 kB / 0.6873 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1445, allocations: 7.375 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1445, allocations: 3.984 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1445, allocations: 0 / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.1445, allocations: 4 kB / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1446, allocations: 157.6 kB / 0.6875 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.239e-05/0.1447, allocations: 22.61 kB / 0.6875 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.1447, allocations: 9.797 kB / 0.6875 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.1449, allocations: 93.81 kB / 0.6876 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.145, allocations: 36.03 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.145, allocations: 0 / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.1451, allocations: 50.28 kB / 0.6877 GB, free: 12.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1451, allocations: 52.12 kB / 0.6877 GB, free: 12.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.1452, allocations: 97.84 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1452, allocations: 26.58 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.1453, allocations: 80.14 kB / 0.6879 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1453, allocations: 8.531 kB / 0.6879 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.1453, allocations: 11.72 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.1454, allocations: 314.8 kB / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.1454, allocations: 0 / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.1454, allocations: 7.984 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.1455, allocations: 20.98 kB / 0.6883 GB, free: 11.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1455, allocations: 0 / 0.6883 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.594e-05/0.1455, allocations: 41.64 kB / 0.6883 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1456, allocations: 9.875 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1456, allocations: 0 / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1456, allocations: 3.984 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.1456, allocations: 4 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1456, allocations: 0 / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.1457, allocations: 0 / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1457, allocations: 0 / 0.6883 GB, free: 11.52 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.799e-05/0.1457, allocations: 119.1 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.1458, allocations: 3.938 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.1459, allocations: 56.69 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1459, allocations: 3.984 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1459, allocations: 4 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1459, allocations: 0 / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.805e-05/0.146, allocations: 157.6 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.146, allocations: 0 / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.146, allocations: 11.94 kB / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.146, allocations: 0 / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.146, allocations: 4 kB / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1461, allocations: 0 / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1461, allocations: 0 / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.632e-05/0.1461, allocations: 73.3 kB / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1462, allocations: 85.08 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.1462, allocations: 0 / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.1462, allocations: 4 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1462, allocations: 7.984 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1463, allocations: 0 / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.1463, allocations: 79.28 kB / 0.6889 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1463, allocations: 0 / 0.6889 GB, free: 10.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001787/0.1465, allocations: 16 kB / 0.6889 GB, free: 10.8 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.0003394/0.1468, allocations: 0.6124 MB / 0.6895 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.772e-05/0.1469, allocations: 15.94 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1469, allocations: 0 / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.1469, allocations: 7.984 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.1471, allocations: 4.75 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.1474, allocations: 158.1 kB / 0.6897 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1477, allocations: 0.681 MB / 0.6904 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.1477, allocations: 3.938 kB / 0.6904 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.1477, allocations: 15.44 kB / 0.6904 GB, free: 9.207 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1477, allocations: 0 / 0.6904 GB, free: 9.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.1578, allocations: 1.129 MB / 0.6915 GB, free: 8.258 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.158, allocations: 235.9 kB / 0.6917 GB, free: 8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.658, allocations: 4 kB / 0.6917 GB, free: 7.996 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)