Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_9_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.0008035/0.0008036, allocations: 91.3 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.0008576/0.0008576, 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 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.449 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.454/2.454, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7965, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.00477/0.8014, allocations: 4.449 MB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006108/0.8075, allocations: 4.273 MB / 0.9624 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008196/0.8084, allocations: 13.78 kB / 0.9624 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.8102, allocations: 497.5 kB / 0.9629 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.8116, allocations: 352.6 kB / 0.9632 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.8137, allocations: 0.5618 MB / 0.9637 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.8162, allocations: 1.7 MB / 0.9654 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009741/0.8171, allocations: 450.8 kB / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.8188, allocations: 0.5269 MB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.82, allocations: 0.6498 MB / 0.967 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.8202, allocations: 65.5 kB / 0.967 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.8215, allocations: 296.2 kB / 0.9673 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.8218, allocations: 258.7 kB / 0.9676 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.8222, allocations: 258.8 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.8244, allocations: 1.581 MB / 0.9694 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.8244, allocations: 0 / 0.9694 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8245, allocations: 7.938 kB / 0.9694 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.8245, allocations: 1.156 kB / 0.9694 GB, free: 12.7 MB / 0.7325 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.003936/0.8284, allocations: 1.675 MB / 0.971 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.8285, allocations: 12.94 kB / 0.971 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.8287, allocations: 124.7 kB / 0.9711 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.8509, allocations: 3.882 MB / 0.9749 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02218/0.8731, allocations: 3.767 MB / 0.9786 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.8732, allocations: 54 kB / 0.9787 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/0.8738, allocations: 76 kB / 0.9787 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.8794, allocations: 2.044 MB / 0.9807 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.8795, allocations: 0 / 0.9807 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.8796, allocations: 28 kB / 0.9808 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.8796, allocations: 23.95 kB / 0.9808 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004964/0.8846, allocations: 1.729 MB / 0.9825 GB, free: 2.652 MB / 0.7325 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.009921/0.8946, allocations: 7.373 MB / 0.9897 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/0.8995, allocations: 1.821 MB / 0.9914 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/0.9038, allocations: 1.521 MB / 0.9929 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004038/0.9042, allocations: 396.9 kB / 0.9933 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9042, allocations: 43.06 kB / 0.9933 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.9043, allocations: 0 / 0.9933 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.03176/0.936, allocations: 8.925 MB / 1.002 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.9361, allocations: 63.92 kB / 1.002 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9377, allocations: 1.06 MB / 1.003 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.938, allocations: 37.7 kB / 1.003 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.9385, allocations: 0.4966 MB / 1.004 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.9388, allocations: 236.4 kB / 1.004 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.939, allocations: 16 kB / 1.004 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9392, allocations: 334 kB / 1.004 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007925/0.9471, allocations: 2.277 MB / 1.006 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/0.9553, allocations: 2.39 MB / 1.009 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007908/0.9632, allocations: 2.025 MB / 1.011 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.9632, allocations: 3.938 kB / 1.011 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02159/0.9848, allocations: 6.028 MB / 1.017 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.9849, allocations: 97.22 kB / 1.017 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01688/1.002, allocations: 4.768 MB / 1.021 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0774/1.079, allocations: 10.44 MB / 1.032 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/1.083, allocations: 387.5 kB / 1.032 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/1.089, allocations: 3.052 MB / 1.035 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/1.093, allocations: 406.8 kB / 1.035 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.094, allocations: 71.92 kB / 1.035 GB, free: 11.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.094, allocations: 4 kB / 1.035 GB, free: 11.31 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01763/1.111, allocations: 5.153 MB / 1.04 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01515/1.127, allocations: 4.549 MB / 1.045 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.129, allocations: 0.8199 MB / 1.046 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.133, allocations: 491.4 kB / 1.046 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008839/1.142, allocations: 6.121 MB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/1.146, allocations: 406.9 kB / 1.053 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/1.146, allocations: 71.92 kB / 1.053 GB, free: 9.559 MB / 0.8106 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.001033/1.147, allocations: 476.8 kB / 1.053 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/1.148, allocations: 110.6 kB / 1.053 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.163, allocations: 4.768 MB / 1.058 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.163, allocations: 8 kB / 1.058 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.163, allocations: 3.953 kB / 1.058 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.163, allocations: 3.984 kB / 1.058 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.18, allocations: 6.556 MB / 1.064 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03013/1.21, allocations: 5.151 MB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.211, allocations: 195.8 kB / 1.069 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09613/1.308, allocations: 15.19 MB / 1.084 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003722/1.308, allocations: 51.89 kB / 1.084 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/1.315, allocations: 3.092 MB / 1.087 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.315, allocations: 4.062 kB / 1.087 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03123/1.346, allocations: 5.439 MB / 1.093 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.348, allocations: 495.4 kB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/1.348, allocations: 12 kB / 1.093 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.351, allocations: 243.3 kB / 1.093 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.351, allocations: 44.59 kB / 1.093 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.351, allocations: 51.95 kB / 1.093 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001347/1.353, allocations: 0.7528 MB / 1.094 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/1.353, allocations: 0 / 1.094 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002721/1.356, allocations: 0.7139 MB / 1.095 GB, free: 13.85 MB / 0.8575 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.014/1.37, allocations: 4.466 MB / 1.099 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02142/1.391, allocations: 6.301 MB / 1.105 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.391, allocations: 4 kB / 1.105 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00538/1.396, allocations: 1.619 MB / 1.107 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.398, allocations: 277.4 kB / 1.107 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04087/1.439, allocations: 14.63 MB / 1.122 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.44, allocations: 1.298 MB / 1.123 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004343/1.444, allocations: 0.8392 MB / 1.124 GB, free: 68 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.446, allocations: 463.3 kB / 1.124 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of SimCode: time 1.012e-06/1.446, allocations: 0 / 1.124 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/1.607, allocations: 76.11 MB / 1.198 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/1.608, allocations: 237.5 kB / 1.199 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.549/7.157, allocations: 3.094 kB / 1.199 GB, free: 3.609 MB / 0.9512 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat does not exist to compare? outputFormat=mat