Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",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.007597/0.007597, allocations: 103.4 kB / 15.73 MB, free: 6.02 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.001676/0.001676, allocations: 186 kB / 16.67 MB, free: 5.953 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 290.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9759/0.9759, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 96.36 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1814, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.003376/0.1848, allocations: 1.681 MB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1861, allocations: 0.5923 MB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1862, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.829e-05/0.1863, allocations: 11.86 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.1867, allocations: 51.7 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.187, allocations: 87.91 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1872, allocations: 99.77 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1874, allocations: 43.89 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.1874, allocations: 47.73 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1876, allocations: 47.77 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1876, allocations: 12 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.1878, allocations: 103.9 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.1879, allocations: 23.92 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.188, allocations: 47.73 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1883, allocations: 171.5 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1883, allocations: 0 / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1883, allocations: 0 / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1883, allocations: 4 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006474/0.189, allocations: 431.2 kB / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.189, allocations: 12.03 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.1891, allocations: 50.67 kB / 0.7693 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1891, allocations: 8.844 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1893, allocations: 176.2 kB / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1894, allocations: 67.97 kB / 0.7695 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1894, allocations: 12.38 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1896, allocations: 121 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1897, allocations: 4 kB / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1897, allocations: 0 / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1897, allocations: 7.984 kB / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1899, allocations: 99.94 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.1906, allocations: 432.2 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1909, allocations: 86.67 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.191, allocations: 32.84 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/0.1915, allocations: 319.2 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1916, allocations: 38.5 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1916, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.00119/0.1928, allocations: 331.2 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1928, allocations: 59.41 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.193, allocations: 162.2 kB / 0.7712 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.193, allocations: 29.7 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1931, allocations: 111.9 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1931, allocations: 19.7 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1931, allocations: 21.72 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1932, allocations: 330.8 kB / 0.7716 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.1933, allocations: 27.98 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.1934, allocations: 43.97 kB / 0.7717 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1936, allocations: 77 kB / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1936, allocations: 0 / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005053/0.1941, allocations: 182.2 kB / 0.772 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1942, allocations: 4 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1942, allocations: 3.938 kB / 0.772 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.1946, allocations: 72.72 kB / 0.772 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1947, allocations: 16 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1968, allocations: 1.769 MB / 0.7738 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.1969, allocations: 15.88 kB / 0.7738 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1969, allocations: 4 kB / 0.7738 GB, free: 340 kB / 0.5606 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/0.197, allocations: 125.9 kB / 0.7739 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1971, allocations: 15.81 kB / 0.7739 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.1976, allocations: 171 kB / 0.7741 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1976, allocations: 0 / 0.7741 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1976, allocations: 4 kB / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1976, allocations: 0 / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3742/0.5718, allocations: 429.7 kB / 0.7745 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5719, allocations: 1.562 kB / 0.7745 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.5719, allocations: 6.328 kB / 0.7745 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.5723, allocations: 74.55 kB / 0.7746 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.5724, allocations: 1.656 kB / 0.7746 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.5742, allocations: 1.768 MB / 0.7763 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5742, allocations: 2.844 kB / 0.7763 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.5747, allocations: 264.8 kB / 0.7766 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.5748, allocations: 87.09 kB / 0.7767 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.5748, allocations: 1.609 kB / 0.7767 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.5749, allocations: 5.594 kB / 0.7767 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.575, allocations: 17.28 kB / 0.7767 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.575, allocations: 3.594 kB / 0.7767 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000104/0.5751, allocations: 124.3 kB / 0.7768 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5751, allocations: 0 / 0.7768 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00046/0.5756, allocations: 58.12 kB / 0.7769 GB, free: 12.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009214/0.5765, allocations: 0.8401 MB / 0.7777 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000576/0.5771, allocations: 217.6 kB / 0.7779 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5771, allocations: 0 / 0.7779 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.5774, allocations: 172.7 kB / 0.778 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.5777, allocations: 12.75 kB / 0.7781 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.5803, allocations: 1.859 MB / 0.7799 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.5805, allocations: 0.6978 MB / 0.7806 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.47e-05/0.5806, allocations: 17.41 kB / 0.7806 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.5806, allocations: 26.84 kB / 0.7806 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5806, allocations: 1.094 kB / 0.7806 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.6049, allocations: 4.122 MB / 0.7846 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.31, allocations: 21.94 kB / 0.7846 GB, free: 9.398 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)