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.7809/0.7809, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001056, allocations: 177 kB / 191.5 MB, free: 5.777 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.49/1.49, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009034/0.0009035, allocations: 92.33 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001756, allocations: 276.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004136, allocations: 13.12 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.3295, allocations: 108.9 MB / 0.8801 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3297, allocations: 71.97 kB / 0.8802 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3083/0.638, allocations: 0.988 MB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.008e-06/0.6381, allocations: 3.875 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.6381, allocations: 0.5938 kB / 0.8811 GB, free: 109 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.0003431/0.6385, allocations: 321.8 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/0.6385, allocations: 9.188 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.6386, allocations: 31.69 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.6386, allocations: 1.969 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.6387, allocations: 164.6 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.6387, allocations: 5.078 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.6388, allocations: 0.7188 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6389, allocations: 34.73 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6389, allocations: 1.875 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.6389, allocations: 0.6562 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.6389, allocations: 0.6562 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.639, allocations: 9.344 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.6391, allocations: 156 kB / 0.8818 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.827e-05/0.6392, allocations: 29.62 kB / 0.8819 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.6394, allocations: 94 kB / 0.8819 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.6394, allocations: 32.28 kB / 0.882 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6394, allocations: 0.5625 kB / 0.882 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.6396, allocations: 43.73 kB / 0.882 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.6396, allocations: 53.78 kB / 0.8821 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.6397, allocations: 95.62 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.6397, allocations: 25.7 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.6397, allocations: 84.69 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.6398, allocations: 9.391 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.6398, allocations: 2.062 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.6398, allocations: 316.8 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.6398, allocations: 2.266 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-06/0.6399, allocations: 3.375 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.6399, allocations: 7.531 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6399, allocations: 0 / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.319e-05/0.64, allocations: 40.78 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.64, allocations: 9.891 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.64, allocations: 0.9688 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.64, allocations: 0 / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.6401, allocations: 8.812 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6401, allocations: 0 / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.6401, allocations: 1.062 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.6401, allocations: 1.281 kB / 0.8826 GB, free: 107.4 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.6402, allocations: 112.5 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-06/0.6402, allocations: 3.875 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.6403, allocations: 55.89 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6403, allocations: 1.344 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6403, allocations: 0.8438 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6403, allocations: 2.078 kB / 0.8828 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.274e-05/0.6404, allocations: 155.4 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6404, allocations: 0 / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.6405, allocations: 5 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6405, allocations: 7.938 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.6405, allocations: 1.469 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6405, allocations: 7.188 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6405, allocations: 0.625 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.6406, allocations: 71.25 kB / 0.8831 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.6406, allocations: 77.7 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.6406, allocations: 1.594 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.6407, allocations: 3.312 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.6407, allocations: 14.17 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.6407, allocations: 0.8125 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.6407, allocations: 78.09 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6407, allocations: 0 / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002271/0.641, allocations: 11.66 kB / 0.8832 GB, free: 106.8 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 () * 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 (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.0002687/0.6412, allocations: 0.6256 MB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.6413, allocations: 18.77 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6413, allocations: 0 / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.6413, allocations: 9.156 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.6415, allocations: 7.703 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.6419, allocations: 153.8 kB / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.642, allocations: 0.6818 MB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.642, allocations: 2.438 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.6421, allocations: 11.69 kB / 0.8847 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6421, allocations: 1 kB / 0.8847 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.6525, allocations: 1.106 MB / 0.8858 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.6527, allocations: 202 kB / 0.886 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.225, allocations: 4 kB / 0.886 GB, free: 105 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)