Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 170.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.287/2.287, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 86.92 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009396/0.0009401, allocations: 13.03 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2862, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005768/0.2921, allocations: 4.106 MB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007698/0.2998, allocations: 4.137 MB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.3007, allocations: 8 kB / 0.9864 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.303, allocations: 497.8 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.3046, allocations: 386.8 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.307, allocations: 0.5672 MB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002315/0.3093, allocations: 1.121 MB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008327/0.3102, allocations: 457.4 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/0.3111, allocations: 0.4903 MB / 0.9898 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/0.312, allocations: 0.5874 MB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.3122, allocations: 60 kB / 0.9904 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.3133, allocations: 307.7 kB / 0.9907 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.3136, allocations: 235.1 kB / 0.9909 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.314, allocations: 257 kB / 0.9912 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.3161, allocations: 1.555 MB / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3162, allocations: 0 / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.596e-06/0.3162, allocations: 0 / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.3162, allocations: 0 / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.005094/0.3213, allocations: 1.676 MB / 0.9943 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.3214, allocations: 12.02 kB / 0.9943 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004269/0.3218, allocations: 118.5 kB / 0.9944 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05028/0.3721, allocations: 3.883 MB / 0.9982 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05184/0.424, allocations: 3.742 MB / 1.002 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4242, allocations: 58 kB / 1.002 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.4249, allocations: 72 kB / 1.002 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.4362, allocations: 2.029 MB / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.4362, allocations: 0 / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.4365, allocations: 32 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.4365, allocations: 16 kB / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.4471, allocations: 1.737 MB / 1.006 GB, free: 4 kB / 0.6198 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.01883/0.4659, allocations: 7.4 MB / 1.013 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.4773, allocations: 1.808 MB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.4779, allocations: 396.9 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.478, allocations: 43.06 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/0.478, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.07069/0.5487, allocations: 8.744 MB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5489, allocations: 59.97 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.5512, allocations: 1.059 MB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006061/0.5518, allocations: 37.7 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007854/0.5526, allocations: 492.8 kB / 1.025 GB, free: 11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.5532, allocations: 244.4 kB / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.5536, allocations: 12 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5538, allocations: 333.9 kB / 1.026 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01861/0.5724, allocations: 2.284 MB / 1.028 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0188/0.5912, allocations: 2.386 MB / 1.03 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.6093, allocations: 2.025 MB / 1.032 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.6094, allocations: 0 / 1.032 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.04926/0.6586, allocations: 6.021 MB / 1.038 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/0.6588, allocations: 103.9 kB / 1.038 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03881/0.6976, allocations: 4.768 MB / 1.043 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1859/0.8836, allocations: 10.44 MB / 1.053 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007424/0.8911, allocations: 383.5 kB / 1.054 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.9059, allocations: 3.052 MB / 1.057 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009455/0.9154, allocations: 406.8 kB / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006239/0.916, allocations: 75.91 kB / 1.057 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9161, allocations: 8 kB / 1.057 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04094/0.957, allocations: 5.145 MB / 1.062 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03494/0.992, allocations: 4.548 MB / 1.066 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6588/1.651, allocations: 0.8188 MB / 1.067 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009601/1.66, allocations: 484.1 kB / 1.068 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/1.678, allocations: 6.314 MB / 1.074 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009995/1.688, allocations: 409.2 kB / 1.074 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000948/1.689, allocations: 69.12 kB / 1.074 GB, free: 86.05 MB / 0.6823 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.002437/1.691, allocations: 479.8 kB / 1.075 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000766/1.692, allocations: 109.3 kB / 1.075 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05024/1.743, allocations: 4.775 MB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.743, allocations: 12 kB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.743, allocations: 0.9688 kB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.743, allocations: 3.516 kB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04342/1.786, allocations: 6.562 MB / 1.086 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.073/1.859, allocations: 5.125 MB / 1.091 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003781/1.863, allocations: 193.5 kB / 1.091 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2529/2.116, allocations: 15.19 MB / 1.106 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003863/2.116, allocations: 43.7 kB / 1.106 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/2.13, allocations: 3.094 MB / 1.109 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.13, allocations: 3.75 kB / 1.109 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07147/2.202, allocations: 5.446 MB / 1.114 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/2.203, allocations: 492.5 kB / 1.115 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/2.204, allocations: 19.98 kB / 1.115 GB, free: 70.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005668/2.209, allocations: 236.1 kB / 1.115 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/2.21, allocations: 40.59 kB / 1.115 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/2.21, allocations: 51.94 kB / 1.115 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001357/2.211, allocations: 0.7487 MB / 1.116 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/2.211, allocations: 4 kB / 1.116 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00328/2.215, allocations: 0.7103 MB / 1.117 GB, free: 68.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.02934/2.244, allocations: 4.629 MB / 1.121 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04274/2.287, allocations: 6.308 MB / 1.127 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.287, allocations: 3.938 kB / 1.127 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/2.298, allocations: 1.623 MB / 1.129 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/2.299, allocations: 260.2 kB / 1.129 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/2.315, allocations: 4.476 MB / 1.134 GB, free: 50.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/2.316, allocations: 1.32 MB / 1.135 GB, free: 49.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006693/2.322, allocations: 0.8391 MB / 1.136 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/2.324, allocations: 463.2 kB / 1.136 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/2.324, allocations: 0 / 1.136 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1792/2.503, allocations: 75.03 MB / 1.209 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/2.504, allocations: 236 kB / 1.21 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/10.01, allocations: 0 / 1.21 GB, free: 5.371 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)