Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_8_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.0009897/0.0009897, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.629 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 1.704/1.704, allocations: 292.7 MB / 0.5499 GB, free: 14.51 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.0005264/0.0005267, allocations: 16.27 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004488/0.2619, allocations: 3.863 MB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.2658, allocations: 2.807 MB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.2662, allocations: 15.94 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.2677, allocations: 0.7432 MB / 0.7946 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.2683, allocations: 318 kB / 0.7949 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.2687, allocations: 139.8 kB / 0.7951 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2698, allocations: 1.02 MB / 0.7961 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.2702, allocations: 291.4 kB / 0.7964 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.2705, allocations: 290.6 kB / 0.7966 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.2711, allocations: 378 kB / 0.797 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.2711, allocations: 16 kB / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.2713, allocations: 51.95 kB / 0.7971 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2714, allocations: 127.3 kB / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.2716, allocations: 185.2 kB / 0.7974 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.2722, allocations: 0.6895 MB / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2722, allocations: 0 / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2723, allocations: 4 kB / 0.798 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2723, allocations: 0 / 0.798 GB, free: 0.8516 MB / 0.6075 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.001506/0.2738, allocations: 1.07 MB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2738, allocations: 12.03 kB / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/0.2739, allocations: 82.52 kB / 0.7992 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.2748, allocations: 226.6 kB / 0.7994 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.2757, allocations: 0.6354 MB / 0.8 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2757, allocations: 37 kB / 0.8 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.2758, allocations: 44 kB / 0.8001 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.2767, allocations: 482.1 kB / 0.8005 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2768, allocations: 3.938 kB / 0.8005 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.2768, allocations: 20 kB / 0.8006 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2768, allocations: 8 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.2777, allocations: 403.8 kB / 0.801 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.2801, allocations: 1.482 MB / 0.8024 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.2807, allocations: 275.3 kB / 0.8027 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.281, allocations: 145.3 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.281, allocations: 8.172 kB / 0.8028 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.281, allocations: 34.8 kB / 0.8028 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.281, allocations: 0 / 0.8028 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001823/0.2829, allocations: 0.6991 MB / 0.8035 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2829, allocations: 85.11 kB / 0.8036 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2841, allocations: 0.9116 MB / 0.8045 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2841, allocations: 33.7 kB / 0.8045 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.2844, allocations: 428.1 kB / 0.8049 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.2845, allocations: 94.72 kB / 0.805 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.2846, allocations: 8 kB / 0.805 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2847, allocations: 321.9 kB / 0.8053 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.285, allocations: 136.5 kB / 0.8055 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.2854, allocations: 167.9 kB / 0.8056 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.2858, allocations: 152.7 kB / 0.8058 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2858, allocations: 3.938 kB / 0.8058 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001196/0.287, allocations: 0.506 MB / 0.8063 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.2871, allocations: 89.12 kB / 0.8064 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2871, allocations: 3.953 kB / 0.8064 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.2876, allocations: 84.8 kB / 0.8064 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.2879, allocations: 79.88 kB / 0.8065 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.29, allocations: 1.68 MB / 0.8082 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.2906, allocations: 83.59 kB / 0.8082 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2906, allocations: 12 kB / 0.8083 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.2906, allocations: 6.969 kB / 0.8083 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.2917, allocations: 396.5 kB / 0.8086 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2917, allocations: 0 / 0.8086 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.2921, allocations: 84.8 kB / 0.8087 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2924, allocations: 71.89 kB / 0.8088 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.2942, allocations: 1.652 MB / 0.8104 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.2948, allocations: 79.58 kB / 0.8105 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2948, allocations: 8 kB / 0.8105 GB, free: 3.508 MB / 0.6231 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.0004168/0.2952, allocations: 343.8 kB / 0.8108 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.2954, allocations: 86.88 kB / 0.8109 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.2955, allocations: 101 kB / 0.811 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2955, allocations: 4 kB / 0.811 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2955, allocations: 0 / 0.811 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2956, allocations: 0 / 0.811 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.2973, allocations: 1.061 MB / 0.812 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2973, allocations: 4 kB / 0.812 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.2975, allocations: 47.91 kB / 0.8121 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.2979, allocations: 80.8 kB / 0.8122 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2979, allocations: 8 kB / 0.8122 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.2994, allocations: 1.648 MB / 0.8138 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2994, allocations: 0 / 0.8138 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.3003, allocations: 0.534 MB / 0.8143 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3005, allocations: 199.7 kB / 0.8145 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.3006, allocations: 4 kB / 0.8145 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.301, allocations: 35.97 kB / 0.8145 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3011, allocations: 23.91 kB / 0.8145 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3011, allocations: 12 kB / 0.8146 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008996/0.302, allocations: 0.6571 MB / 0.8152 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.302, allocations: 0 / 0.8152 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006954/0.3027, allocations: 263.4 kB / 0.8155 GB, free: 14.14 MB / 0.6387 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.001188/0.3039, allocations: 1.087 MB / 0.8165 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.3055, allocations: 0.7426 MB / 0.8172 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3055, allocations: 0 / 0.8172 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.3059, allocations: 270.4 kB / 0.8175 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.3068, allocations: 167.5 kB / 0.8177 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/0.3147, allocations: 5.024 MB / 0.8226 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.3154, allocations: 1.043 MB / 0.8236 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005095/0.3159, allocations: 117.3 kB / 0.8237 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.3163, allocations: 303.3 kB / 0.824 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/0.3163, allocations: 0 / 0.824 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.3481, allocations: 16.27 MB / 0.8399 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.3483, allocations: 220.9 kB / 0.8401 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.525, allocations: 0 / 0.8401 GB, free: 4.902 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) Environment - environmentSimulation: