Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 183.3 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 84.03 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 10.75 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 106.3 MB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01088/0.2951, allocations: 10.68 MB / 0.9106 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.4867, allocations: 135.7 MB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.4904, allocations: 55.69 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007142/0.4975, allocations: 1.821 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.5048, allocations: 1.552 MB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006949/0.5117, allocations: 1.707 MB / 1.048 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.5228, allocations: 4.337 MB / 1.052 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.5261, allocations: 1.657 MB / 1.054 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/0.5315, allocations: 1.985 MB / 1.056 GB, free: 244 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7218/1.253, allocations: 1.79 MB / 1.058 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/1.255, allocations: 136.9 kB / 1.058 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009218/1.264, allocations: 1.992 MB / 1.06 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006633/1.271, allocations: 3.139 MB / 1.063 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004527/1.276, allocations: 1.123 MB / 1.064 GB, free: 4.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02474/1.3, allocations: 11.16 MB / 1.075 GB, free: 4.168 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.3, allocations: 1.125 kB / 1.075 GB, free: 4.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/1.3, allocations: 0 / 1.075 GB, free: 4.168 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007555/1.301, allocations: 1.219 kB / 1.075 GB, free: 4.168 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.03883/1.34, allocations: 8.528 MB / 1.083 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/1.34, allocations: 11 kB / 1.083 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002101/1.342, allocations: 354.5 kB / 1.083 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03453/1.377, allocations: 4.659 MB / 1.088 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3151/1.692, allocations: 260 MB / 1.342 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/1.692, allocations: 217 kB / 1.342 GB, free: 496 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/1.695, allocations: 300 kB / 1.342 GB, free: 196 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/1.712, allocations: 4.313 MB / 1.347 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.712, allocations: 0 / 1.347 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.714, allocations: 104 kB / 1.347 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.133e-05/1.714, allocations: 64 kB / 1.347 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/1.727, allocations: 3.942 MB / 1.351 GB, free: 7.652 MB / 0.9011 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.7348/2.462, allocations: 79.14 MB / 1.428 GB, free: 392.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/2.473, allocations: 3.7 MB / 1.432 GB, free: 389.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/2.473, allocations: 436.8 kB / 1.432 GB, free: 388.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007542/2.481, allocations: 2.843 MB / 1.435 GB, free: 386.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=201): time 5.77e-06/2.481, allocations: 1.75 kB / 1.435 GB, free: 386.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=201): time 0.04833/2.529, allocations: 13.49 MB / 1.448 GB, free: 375.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/2.529, allocations: 384.3 kB / 1.448 GB, free: 375.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3314/2.861, allocations: 317.2 MB / 1.758 GB, free: 58.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001763/2.863, allocations: 81.7 kB / 1.758 GB, free: 58.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007809/2.87, allocations: 2.948 MB / 1.761 GB, free: 55.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/2.872, allocations: 0.6745 MB / 1.762 GB, free: 54.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/2.874, allocations: 52 kB / 1.762 GB, free: 54.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004645/2.874, allocations: 419.4 kB / 1.762 GB, free: 54.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/2.888, allocations: 3.877 MB / 1.766 GB, free: 50.22 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01513/2.903, allocations: 4.326 MB / 1.77 GB, free: 45.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/2.918, allocations: 3.907 MB / 1.774 GB, free: 41.83 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/2.918, allocations: 4 kB / 1.774 GB, free: 41.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0483/2.966, allocations: 10.67 MB / 1.784 GB, free: 31.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001683/2.968, allocations: 3.35 MB / 1.788 GB, free: 27.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02944/2.997, allocations: 8.601 MB / 1.796 GB, free: 18.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08564/3.083, allocations: 10.89 MB / 1.807 GB, free: 7.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005941/3.089, allocations: 0.788 MB / 1.807 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6241/3.713, allocations: 7.906 MB / 1.815 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/3.727, allocations: 1.06 MB / 1.816 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/3.728, allocations: 163.1 kB / 1.816 GB, free: 393.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/3.728, allocations: 6.312 kB / 1.816 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03152/3.76, allocations: 9.506 MB / 1.826 GB, free: 393.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02891/3.789, allocations: 8.568 MB / 1.834 GB, free: 391.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/3.793, allocations: 1.185 MB / 1.835 GB, free: 391.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006594/3.8, allocations: 0.889 MB / 1.836 GB, free: 391.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/3.815, allocations: 11.98 MB / 1.848 GB, free: 383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/3.826, allocations: 1.01 MB / 1.849 GB, free: 382.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/3.827, allocations: 169.2 kB / 1.849 GB, free: 382.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009032/3.836, allocations: 2.606 MB / 1.851 GB, free: 380 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00598/3.842, allocations: 0.5861 MB / 1.852 GB, free: 379.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/3.872, allocations: 8.399 MB / 1.86 GB, free: 371 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/3.872, allocations: 20 kB / 1.86 GB, free: 371 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/3.872, allocations: 3.938 kB / 1.86 GB, free: 371 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.669e-05/3.872, allocations: 16.83 kB / 1.86 GB, free: 370.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05392/3.926, allocations: 16.07 MB / 1.876 GB, free: 354.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03923/3.966, allocations: 7.759 MB / 1.884 GB, free: 346.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/3.969, allocations: 423.4 kB / 1.884 GB, free: 346.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1025/4.071, allocations: 15.69 MB / 1.899 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009171/4.072, allocations: 83.92 kB / 1.899 GB, free: 330.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/4.084, allocations: 7.944 MB / 1.907 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/4.085, allocations: 0 / 1.907 GB, free: 322.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04478/4.129, allocations: 8.545 MB / 1.915 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01006/4.139, allocations: 2.295 MB / 1.918 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006147/4.146, allocations: 43.95 kB / 1.918 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009057/4.155, allocations: 0.6714 MB / 1.918 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007202/4.156, allocations: 137.8 kB / 1.919 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005895/4.156, allocations: 111.9 kB / 1.919 GB, free: 310.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.1916/4.348, allocations: 252.5 MB / 2.165 GB, free: 58.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/4.348, allocations: 0 / 2.165 GB, free: 58.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01954/4.367, allocations: 3.024 MB / 2.168 GB, free: 55.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02708/4.394, allocations: 8.439 MB / 2.176 GB, free: 46.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03591/4.43, allocations: 14.51 MB / 2.191 GB, free: 32.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/4.43, allocations: 0 / 2.191 GB, free: 32.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008606/4.439, allocations: 3.728 MB / 2.194 GB, free: 28.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00674/4.446, allocations: 0.8626 MB / 2.195 GB, free: 27.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04854/4.494, allocations: 24.14 MB / 2.219 GB, free: 2.621 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4396/4.934, allocations: 4 MB / 2.222 GB, free: 384.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01881/4.953, allocations: 3.172 MB / 2.226 GB, free: 384.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/4.964, allocations: 3.07 MB / 2.229 GB, free: 384.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/4.964, allocations: 0 / 2.229 GB, free: 384.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3935/5.357, allocations: 299.3 MB / 2.521 GB, free: 108.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/5.357, allocations: 266.1 kB / 2.521 GB, free: 108.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/17.66, allocations: 0 / 2.521 GB, free: 108.2 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1)