Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.001697/0.001697, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001992/0.001992, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.707/2.707, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006358, allocations: 13.5 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4484, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.008281/0.4567, allocations: 4.114 MB / 0.7913 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009866/0.4667, allocations: 4.137 MB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.468, allocations: 15.94 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.4706, allocations: 489.9 kB / 0.7958 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.4727, allocations: 398.8 kB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.476, allocations: 0.5687 MB / 0.7967 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.48, allocations: 1.116 MB / 0.7978 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.4813, allocations: 457.4 kB / 0.7982 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.483, allocations: 0.4942 MB / 0.7987 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.4847, allocations: 0.5874 MB / 0.7993 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.4849, allocations: 60 kB / 0.7994 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.4865, allocations: 307.7 kB / 0.7996 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.487, allocations: 239.1 kB / 0.7999 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.4877, allocations: 257 kB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.4911, allocations: 1.559 MB / 0.8016 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4912, allocations: 0 / 0.8016 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.811e-06/0.4912, allocations: 4 kB / 0.8016 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001035/0.4913, allocations: 0 / 0.8016 GB, free: 13.02 MB / 0.6231 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.00699/0.4983, allocations: 1.669 MB / 0.8033 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001033/0.4984, allocations: 8.031 kB / 0.8033 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005441/0.499, allocations: 122.5 kB / 0.8034 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0387/0.5377, allocations: 3.876 MB / 0.8072 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04121/0.579, allocations: 3.75 MB / 0.8108 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.5793, allocations: 58 kB / 0.8109 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00099/0.5803, allocations: 80 kB / 0.811 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.5908, allocations: 2.029 MB / 0.813 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.5908, allocations: 0 / 0.813 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.5911, allocations: 32 kB / 0.813 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.5912, allocations: 20 kB / 0.813 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009375/0.6006, allocations: 1.737 MB / 0.8147 GB, free: 15.51 MB / 0.6387 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.02026/0.6209, allocations: 7.393 MB / 0.8219 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009901/0.6309, allocations: 1.819 MB / 0.8237 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008619/0.6319, allocations: 396.9 kB / 0.8241 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.23e-05/0.632, allocations: 39.12 kB / 0.8241 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 9.418e-06/0.632, allocations: 0 / 0.8241 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.05958/0.6916, allocations: 8.744 MB / 0.8327 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6919, allocations: 59.97 kB / 0.8327 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.6951, allocations: 1.06 MB / 0.8337 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008922/0.696, allocations: 41.7 kB / 0.8338 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/0.697, allocations: 492.8 kB / 0.8343 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000868/0.6979, allocations: 244.4 kB / 0.8345 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.6982, allocations: 12 kB / 0.8345 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002611/0.6985, allocations: 338 kB / 0.8348 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01559/0.7141, allocations: 2.273 MB / 0.837 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01644/0.7306, allocations: 2.394 MB / 0.8394 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/0.7462, allocations: 2.029 MB / 0.8414 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.7463, allocations: 0 / 0.8414 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0443/0.7906, allocations: 6.024 MB / 0.8472 GB, free: 13.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.7909, allocations: 95.97 kB / 0.8473 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03582/0.8267, allocations: 4.768 MB / 0.852 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1302/0.957, allocations: 10.43 MB / 0.8622 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/0.9611, allocations: 391.5 kB / 0.8626 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009058/0.9702, allocations: 3.056 MB / 0.8655 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/0.9756, allocations: 402.8 kB / 0.8659 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/0.9761, allocations: 75.86 kB / 0.866 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9762, allocations: 4 kB / 0.866 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02975/1.006, allocations: 5.145 MB / 0.871 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02664/1.033, allocations: 4.56 MB / 0.8755 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/1.036, allocations: 0.816 MB / 0.8763 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006804/1.043, allocations: 483.3 kB / 0.8767 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.059, allocations: 6.318 MB / 0.8829 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007112/1.066, allocations: 410.9 kB / 0.8833 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008686/1.067, allocations: 71.91 kB / 0.8834 GB, free: 7.934 MB / 0.7012 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.002019/1.069, allocations: 468.9 kB / 0.8838 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006876/1.069, allocations: 110.6 kB / 0.8839 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02553/1.095, allocations: 4.784 MB / 0.8886 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/1.095, allocations: 8 kB / 0.8886 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.095, allocations: 0 / 0.8886 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.095, allocations: 3.984 kB / 0.8886 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.123, allocations: 6.568 MB / 0.895 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04999/1.173, allocations: 5.104 MB / 0.9 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.176, allocations: 199.6 kB / 0.9002 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1498/1.326, allocations: 15.2 MB / 0.915 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005365/1.327, allocations: 43.95 kB / 0.9151 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/1.337, allocations: 3.08 MB / 0.9181 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.337, allocations: 4 kB / 0.9181 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9592/2.297, allocations: 5.415 MB / 0.9234 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/2.299, allocations: 0.4914 MB / 0.9239 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007557/2.3, allocations: 18.78 kB / 0.9239 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005564/2.306, allocations: 235.6 kB / 0.9241 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/2.306, allocations: 44.7 kB / 0.9241 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/2.307, allocations: 49.52 kB / 0.9242 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002504/2.309, allocations: 0.7527 MB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.11e-07/2.309, allocations: 0 / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006962/2.316, allocations: 0.7134 MB / 0.9256 GB, free: 133.8 MB / 0.7325 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.02738/2.344, allocations: 4.631 MB / 0.9301 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0392/2.383, allocations: 6.301 MB / 0.9363 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.383, allocations: 0.875 kB / 0.9363 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/2.393, allocations: 1.633 MB / 0.9379 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/2.396, allocations: 255.5 kB / 0.9381 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/2.415, allocations: 4.475 MB / 0.9425 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/2.416, allocations: 1.324 MB / 0.9438 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.007386/2.424, allocations: 0.8383 MB / 0.9446 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/2.426, allocations: 465.6 kB / 0.9451 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.953e-06/2.426, allocations: 0 / 0.9451 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/3.6, allocations: 75.07 MB / 1.018 GB, free: 62.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/3.601, allocations: 228.5 kB / 1.019 GB, free: 62.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/16.58, allocations: 0 / 1.019 GB, free: 62.49 MB / 0.7325 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) Environment - environmentSimulation: