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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 180.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009014, allocations: 89.45 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.275e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.954/1.26, allocations: 164.7 MB / 1.367 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.26, allocations: 94.52 kB / 1.367 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0819/1.342, allocations: 34.14 MB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.342, allocations: 0 / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.649e-05/1.342, allocations: 23.09 kB / 1.4 GB, free: 24.11 MB / 0.8386 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.002556/1.345, allocations: 1.426 MB / 1.402 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.345, allocations: 7.812 kB / 1.402 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0278/1.373, allocations: 4.433 MB / 1.406 GB, free: 20 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/1.376, allocations: 1.457 MB / 1.408 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/1.376, allocations: 24 kB / 1.408 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.376, allocations: 44 kB / 1.408 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002222/1.378, allocations: 1.786 MB / 1.409 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/1.381, allocations: 1.807 MB / 1.411 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.381, allocations: 4 kB / 1.411 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/1.381, allocations: 3.953 kB / 1.411 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.381, allocations: 16 kB / 1.411 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/1.392, allocations: 8.068 MB / 1.419 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.394, allocations: 1.706 MB / 1.421 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.396, allocations: 1.441 MB / 1.422 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/1.396, allocations: 45.28 kB / 1.422 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.396, allocations: 38.25 kB / 1.422 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 4.468e-06/1.396, allocations: 0 / 1.422 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.01175/1.408, allocations: 5.559 MB / 1.428 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.408, allocations: 63.91 kB / 1.428 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.41, allocations: 1.025 MB / 1.429 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/1.41, allocations: 25.7 kB / 1.429 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/1.411, allocations: 494.5 kB / 1.429 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/1.411, allocations: 229.3 kB / 1.429 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.411, allocations: 0 / 1.429 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.411, allocations: 332.8 kB / 1.43 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/1.414, allocations: 2.07 MB / 1.432 GB, free: 284 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/1.417, allocations: 2.234 MB / 1.434 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.429, allocations: 4.486 MB / 1.438 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.429, allocations: 0 / 1.438 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01859/1.448, allocations: 8.198 MB / 1.446 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.448, allocations: 99.52 kB / 1.446 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01791/1.466, allocations: 7.245 MB / 1.453 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0284/1.494, allocations: 5.435 MB / 1.459 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/1.5, allocations: 0.7958 MB / 1.46 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.51, allocations: 5.253 MB / 1.465 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007853/1.518, allocations: 1.002 MB / 1.466 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.519, allocations: 63.92 kB / 1.466 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.519, allocations: 4.109 kB / 1.466 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01923/1.538, allocations: 7.516 MB / 1.473 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01713/1.555, allocations: 7.001 MB / 1.48 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/1.558, allocations: 1.012 MB / 1.481 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00726/1.566, allocations: 1.061 MB / 1.482 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.577, allocations: 6.992 MB / 1.489 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/1.584, allocations: 0.9903 MB / 1.49 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004183/1.585, allocations: 71.88 kB / 1.49 GB, free: 8.961 MB / 0.9011 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 () * 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.0004353/1.585, allocations: 101.5 kB / 1.49 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0117/1.597, allocations: 5.448 MB / 1.495 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/1.598, allocations: 102.7 kB / 1.495 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009597/1.607, allocations: 4.748 MB / 1.5 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.607, allocations: 11.94 kB / 1.5 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.607, allocations: 0 / 1.5 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.607, allocations: 3.984 kB / 1.5 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.618, allocations: 6.869 MB / 1.507 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0423/1.661, allocations: 7.886 MB / 1.514 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.664, allocations: 411.4 kB / 1.515 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04186/1.705, allocations: 7.439 MB / 1.522 GB, free: 7.688 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.706, allocations: 27.95 kB / 1.522 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/1.713, allocations: 4.146 MB / 1.526 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.713, allocations: 0 / 1.526 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04377/1.757, allocations: 8.098 MB / 1.534 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.759, allocations: 0.5423 MB / 1.535 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.759, allocations: 4 kB / 1.535 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004636/1.764, allocations: 0.6279 MB / 1.535 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.764, allocations: 40.72 kB / 1.535 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.764, allocations: 43.95 kB / 1.535 GB, free: 10.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001243/1.765, allocations: 0.7855 MB / 1.536 GB, free: 9.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.765, allocations: 0 / 1.536 GB, free: 9.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00236/1.767, allocations: 0.7645 MB / 1.537 GB, free: 8.504 MB / 0.948 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 () * 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.008284/1.776, allocations: 4.718 MB / 1.541 GB, free: 3.762 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.786, allocations: 5.963 MB / 1.547 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.786, allocations: 0 / 1.547 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.789, allocations: 1.505 MB / 1.549 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.79, allocations: 218.2 kB / 1.549 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/1.796, allocations: 2.988 MB / 1.552 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/1.797, allocations: 1.327 MB / 1.553 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00379/1.801, allocations: 0.959 MB / 1.554 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009657/1.801, allocations: 427.7 kB / 1.554 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of SimCode: time 8.51e-07/1.802, allocations: 7.938 kB / 1.554 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.917, allocations: 72.2 MB / 1.625 GB, free: 14.18 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.917, allocations: 159.6 kB / 1.625 GB, free: 13.99 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.164/7.081, allocations: 0 / 1.625 GB, free: 13.99 MB / 1.042 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