Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001106/0.001106, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001542/0.001541, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 8 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6348, allocations: 142.3 MB / 0.9538 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.005592/0.6405, allocations: 6.927 MB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006386/0.6469, allocations: 4.919 MB / 0.9654 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.6482, allocations: 43.78 kB / 0.9655 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.6522, allocations: 1.387 MB / 0.9668 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.6539, allocations: 0.5779 MB / 0.9674 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.6547, allocations: 239.9 kB / 0.9676 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.6573, allocations: 1.944 MB / 0.9695 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.6582, allocations: 0.5897 MB / 0.9701 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.6594, allocations: 0.6674 MB / 0.9707 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.6606, allocations: 0.8225 MB / 0.9715 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6608, allocations: 69.16 kB / 0.9716 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.6613, allocations: 174.9 kB / 0.9718 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.6616, allocations: 319.6 kB / 0.9721 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.662, allocations: 387.9 kB / 0.9724 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.6637, allocations: 1.782 MB / 0.9742 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6637, allocations: 1.125 kB / 0.9742 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6637, allocations: 0 / 0.9742 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.6637, allocations: 0 / 0.9742 GB, free: 9.336 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003088/0.6668, allocations: 2.038 MB / 0.9762 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6669, allocations: 10.06 kB / 0.9762 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.667, allocations: 88.48 kB / 0.9763 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.6673, allocations: 218.5 kB / 0.9765 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.6697, allocations: 1.505 MB / 0.9779 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.6698, allocations: 46.66 kB / 0.978 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.6699, allocations: 54.23 kB / 0.978 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.6708, allocations: 0.5488 MB / 0.9786 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6708, allocations: 0 / 0.9786 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.6708, allocations: 20.31 kB / 0.9786 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.6709, allocations: 15.08 kB / 0.9786 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.6716, allocations: 0.493 MB / 0.9791 GB, free: 5.977 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.6763, allocations: 3.281 MB / 0.9823 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.6764, allocations: 62.47 kB / 0.9824 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.6765, allocations: 44.88 kB / 0.9824 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.6765, allocations: 3.953 kB / 0.9824 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6765, allocations: 34.56 kB / 0.9824 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.6765, allocations: 0 / 0.9824 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0005473/0.6771, allocations: 358.9 kB / 0.9828 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.6771, allocations: 55.39 kB / 0.9828 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.681, allocations: 2.935 MB / 0.9857 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.6811, allocations: 29.7 kB / 0.9857 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000915/0.682, allocations: 0.9385 MB / 0.9866 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.682, allocations: 12.12 kB / 0.9867 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.6821, allocations: 12 kB / 0.9867 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6822, allocations: 326 kB / 0.987 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.6824, allocations: 156.9 kB / 0.9871 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.6829, allocations: 461.2 kB / 0.9876 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.6832, allocations: 243.8 kB / 0.9878 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.6833, allocations: 4 kB / 0.9878 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001227/0.6845, allocations: 0.7568 MB / 0.9885 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.6845, allocations: 15.95 kB / 0.9886 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6845, allocations: 8 kB / 0.9886 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.6846, allocations: 19.94 kB / 0.9886 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.6849, allocations: 107.8 kB / 0.9887 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.6849, allocations: 19.92 kB / 0.9887 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.6858, allocations: 91.31 kB / 0.9888 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.6859, allocations: 28 kB / 0.9888 GB, free: 11.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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 0.001103/0.687, allocations: 0.743 MB / 0.9895 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.6873, allocations: 205.4 kB / 0.9897 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.6877, allocations: 235.7 kB / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6877, allocations: 0 / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6877, allocations: 0 / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6877, allocations: 0 / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.689, allocations: 0.9509 MB / 0.9909 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.689, allocations: 0 / 0.9909 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.6891, allocations: 0 / 0.9909 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6891, allocations: 0 / 0.9909 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.6891, allocations: 0 / 0.9909 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.6891, allocations: 3.953 kB / 0.9909 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6891, allocations: 4 kB / 0.9909 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.6896, allocations: 425 kB / 0.9913 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.6901, allocations: 366.4 kB / 0.9917 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.6903, allocations: 0 / 0.9917 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6907, allocations: 0 / 0.9917 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.6907, allocations: 7.938 kB / 0.9917 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.6907, allocations: 4 kB / 0.9917 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002927/0.6937, allocations: 2.054 MB / 0.9937 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6937, allocations: 4.031 kB / 0.9937 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001124/0.6948, allocations: 240 kB / 0.9939 GB, free: 6.434 MB / 0.7481 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 (1): * Single equations (assignments): 1 * 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.000998/0.6958, allocations: 0.9997 MB / 0.9949 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.6964, allocations: 314 kB / 0.9952 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6964, allocations: 4.25 kB / 0.9952 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.6965, allocations: 51.95 kB / 0.9952 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.6999, allocations: 0.671 MB / 0.9959 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/0.726, allocations: 14.02 MB / 1.01 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.7278, allocations: 1.796 MB / 1.011 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000993/0.7288, allocations: 309.2 kB / 1.012 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009211/0.7297, allocations: 0.6789 MB / 1.012 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/0.7297, allocations: 0 / 1.012 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06736/0.7971, allocations: 42.36 MB / 1.054 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.7973, allocations: 257.2 kB / 1.054 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.352, allocations: 8.062 kB / 1.054 GB, free: 8.34 MB / 0.8106 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat does not exist to compare? outputFormat=mat