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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7714/0.7714, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 185.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008631, allocations: 98.16 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 273.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.278e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.5436, allocations: 108.8 MB / 0.8706 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5439, allocations: 68.47 kB / 0.8707 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002606/0.5465, allocations: 0.9849 MB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5465, allocations: 0 / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5466, allocations: 4 kB / 0.8716 GB, free: 14.7 MB / 0.5417 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.0002856/0.5469, allocations: 322 kB / 0.8719 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5469, allocations: 12.03 kB / 0.872 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.547, allocations: 34.5 kB / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.547, allocations: 0 / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.5471, allocations: 159.1 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5471, allocations: 15.94 kB / 0.8722 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5472, allocations: 0 / 0.8722 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.5473, allocations: 34.59 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.5473, allocations: 0 / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.5473, allocations: 1.844 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5473, allocations: 0 / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.5473, allocations: 4 kB / 0.8722 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.5475, allocations: 157.7 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.5476, allocations: 30.5 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.5476, allocations: 12.92 kB / 0.8724 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.5478, allocations: 89.09 kB / 0.8725 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.5479, allocations: 34.56 kB / 0.8725 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5479, allocations: 0 / 0.8725 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.548, allocations: 41.69 kB / 0.8725 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5481, allocations: 55.41 kB / 0.8726 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.5481, allocations: 92.94 kB / 0.8727 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5482, allocations: 29.64 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.5482, allocations: 80.14 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5482, allocations: 7.891 kB / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.5482, allocations: 0 / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5484, allocations: 318.8 kB / 0.8731 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.5484, allocations: 4.031 kB / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.5484, allocations: 4 kB / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.614e-05/0.5484, allocations: 0 / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5484, allocations: 0 / 0.8731 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.188e-05/0.5485, allocations: 53.55 kB / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5485, allocations: 4 kB / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5485, allocations: 0 / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5485, allocations: 3.938 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.5486, allocations: 4 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5486, allocations: 4.094 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.5486, allocations: 3.938 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5487, allocations: 4 kB / 0.8732 GB, free: 12.88 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.5487, allocations: 101 kB / 0.8733 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.5487, allocations: 3.953 kB / 0.8733 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.5489, allocations: 52.8 kB / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5489, allocations: 0 / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5489, allocations: 0 / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5489, allocations: 0 / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.549, allocations: 157.7 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.549, allocations: 4 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.549, allocations: 4 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5491, allocations: 0 / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5491, allocations: 3.953 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5491, allocations: 0 / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5491, allocations: 3.938 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.5492, allocations: 69.34 kB / 0.8736 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.5492, allocations: 89.02 kB / 0.8736 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5492, allocations: 7.984 kB / 0.8737 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.5493, allocations: 3.953 kB / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.5493, allocations: 0 / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.5493, allocations: 0 / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.5493, allocations: 79.28 kB / 0.8737 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5494, allocations: 3.938 kB / 0.8737 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000182/0.5495, allocations: 15.94 kB / 0.8738 GB, free: 12.2 MB / 0.5417 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 () * 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 (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.00039/0.5499, allocations: 0.6165 MB / 0.8744 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.55, allocations: 8 kB / 0.8744 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.55, allocations: 4 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.55, allocations: 8 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.5502, allocations: 11.94 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.5505, allocations: 98.83 kB / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.5508, allocations: 0.677 MB / 0.8751 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.5508, allocations: 4 kB / 0.8751 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.5508, allocations: 11.44 kB / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5508, allocations: 0 / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.5629, allocations: 1.087 MB / 0.8762 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.5632, allocations: 180.9 kB / 0.8764 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.156, allocations: 1.719 kB / 0.8764 GB, free: 9.539 MB / 0.5417 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/linux/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)