Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.001019/0.001019, allocations: 100.5 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.0009522/0.0009522, allocations: 177.3 kB / 15.94 MB, free: 228 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.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.457/2.457, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8274, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.003495/0.831, allocations: 3.623 MB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.834, allocations: 2.642 MB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.8344, allocations: 13.56 kB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.8357, allocations: 0.6652 MB / 0.9604 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.8363, allocations: 345.3 kB / 0.9607 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.8366, allocations: 137.8 kB / 0.9608 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007398/0.8374, allocations: 0.686 MB / 0.9615 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.8377, allocations: 288.5 kB / 0.9618 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.8381, allocations: 288.1 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.8385, allocations: 301.9 kB / 0.9623 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.8385, allocations: 17.94 kB / 0.9623 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.8387, allocations: 50.19 kB / 0.9624 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.8388, allocations: 126.4 kB / 0.9625 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.8389, allocations: 187 kB / 0.9627 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.8395, allocations: 0.6967 MB / 0.9634 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.8395, allocations: 0 / 0.9634 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8395, allocations: 1.031 kB / 0.9634 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.8395, allocations: 0 / 0.9634 GB, free: 0.6719 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001449/0.8409, allocations: 1.079 MB / 0.9644 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.841, allocations: 9.719 kB / 0.9644 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.029e-05/0.8411, allocations: 84.14 kB / 0.9645 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.842, allocations: 231.7 kB / 0.9647 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000875/0.8429, allocations: 0.6394 MB / 0.9654 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.843, allocations: 30.91 kB / 0.9654 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.843, allocations: 48.62 kB / 0.9654 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.8439, allocations: 473.7 kB / 0.9659 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8439, allocations: 0 / 0.9659 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.844, allocations: 15.84 kB / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.844, allocations: 14.48 kB / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/0.845, allocations: 405.3 kB / 0.9663 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.8474, allocations: 1.487 MB / 0.9678 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.848, allocations: 279.2 kB / 0.968 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.8481, allocations: 2.859 kB / 0.968 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.8481, allocations: 33.3 kB / 0.9681 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.8481, allocations: 0 / 0.9681 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.002003/0.8501, allocations: 0.7065 MB / 0.9688 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8502, allocations: 80.23 kB / 0.9688 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8514, allocations: 0.9218 MB / 0.9697 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.8514, allocations: 27.02 kB / 0.9698 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.8517, allocations: 427.6 kB / 0.9702 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.8518, allocations: 94.91 kB / 0.9703 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.8518, allocations: 5.438 kB / 0.9703 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.8519, allocations: 320.7 kB / 0.9706 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.8523, allocations: 134.5 kB / 0.9707 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.8527, allocations: 165.7 kB / 0.9708 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.8531, allocations: 152.8 kB / 0.971 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8531, allocations: 0 / 0.971 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001222/0.8543, allocations: 0.5014 MB / 0.9715 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.8544, allocations: 101.5 kB / 0.9716 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8544, allocations: 1 kB / 0.9716 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.8549, allocations: 81.89 kB / 0.9717 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.8552, allocations: 76.36 kB / 0.9717 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.8574, allocations: 1.7 MB / 0.9734 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.8582, allocations: 95.06 kB / 0.9735 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.8583, allocations: 10.34 kB / 0.9735 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.8583, allocations: 3.656 kB / 0.9735 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.8595, allocations: 396.6 kB / 0.9739 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.8595, allocations: 0.9375 kB / 0.9739 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.8598, allocations: 82.64 kB / 0.974 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.8602, allocations: 72.42 kB / 0.974 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.8618, allocations: 1.681 MB / 0.9757 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.8626, allocations: 77.7 kB / 0.9757 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.8626, allocations: 13.16 kB / 0.9758 GB, free: 7.277 MB / 0.7325 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 (28): * Single equations (assignments): 27 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005511/0.8632, allocations: 343.7 kB / 0.9761 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.8633, allocations: 88.38 kB / 0.9762 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.8635, allocations: 95.53 kB / 0.9763 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8635, allocations: 7.812 kB / 0.9763 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8635, allocations: 0 / 0.9763 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8635, allocations: 3.984 kB / 0.9763 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.8653, allocations: 1.06 MB / 0.9773 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8653, allocations: 1 kB / 0.9773 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.8655, allocations: 48.47 kB / 0.9773 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/0.8659, allocations: 87.86 kB / 0.9774 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.8659, allocations: 5.562 kB / 0.9774 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.8675, allocations: 1.657 MB / 0.9791 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8675, allocations: 1.375 kB / 0.9791 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.8686, allocations: 0.5947 MB / 0.9796 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.8689, allocations: 185.6 kB / 0.9798 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.869, allocations: 11.48 kB / 0.9798 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.8694, allocations: 40.53 kB / 0.9799 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.8695, allocations: 22.16 kB / 0.9799 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8695, allocations: 6.469 kB / 0.9799 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001053/0.8706, allocations: 0.6581 MB / 0.9805 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8706, allocations: 0 / 0.9805 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008297/0.8714, allocations: 265.7 kB / 0.9808 GB, free: 3.355 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.8727, allocations: 1.407 MB / 0.9822 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.8743, allocations: 0.7549 MB / 0.9829 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8743, allocations: 0 / 0.9829 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.8747, allocations: 266.8 kB / 0.9832 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.8754, allocations: 159.3 kB / 0.9833 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/0.8827, allocations: 4.922 MB / 0.9881 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.8832, allocations: 1.055 MB / 0.9891 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004623/0.8837, allocations: 121.3 kB / 0.9893 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.884, allocations: 303.3 kB / 0.9895 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.884, allocations: 0 / 0.9895 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.9316, allocations: 16.38 MB / 1.006 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.9318, allocations: 215.5 kB / 1.006 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.382, allocations: 0 / 1.006 GB, free: 9.797 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat