Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.24/2.24, allocations: 390.5 MB / 398 MB, free: 10.95 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.001016/0.001016, allocations: 176.9 kB / 491.2 MB, free: 1.547 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.449/1.449, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008806, allocations: 103.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.248e-05, allocations: 5.875 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2496, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8108/1.06, allocations: 165.5 MB / 1.374 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.061, allocations: 95.36 kB / 1.374 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08125/1.142, allocations: 34.14 MB / 1.408 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.142, allocations: 0 / 1.408 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.134e-05/1.142, allocations: 23.94 kB / 1.408 GB, free: 19 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.002083/1.144, allocations: 1.435 MB / 1.409 GB, free: 17.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.144, allocations: 12.03 kB / 1.409 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02932/1.174, allocations: 4.429 MB / 1.413 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/1.177, allocations: 1.45 MB / 1.415 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/1.177, allocations: 20 kB / 1.415 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005686/1.178, allocations: 48 kB / 1.415 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/1.18, allocations: 1.794 MB / 1.417 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.183, allocations: 1.804 MB / 1.418 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.183, allocations: 7.938 kB / 1.418 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.183, allocations: 0 / 1.418 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/1.183, allocations: 16 kB / 1.418 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/1.194, allocations: 8.057 MB / 1.426 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/1.196, allocations: 1.708 MB / 1.428 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.197, allocations: 1.441 MB / 1.429 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/1.198, allocations: 55.77 kB / 1.429 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.198, allocations: 34.5 kB / 1.429 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/1.198, allocations: 0 / 1.429 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.01173/1.209, allocations: 5.556 MB / 1.435 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.21, allocations: 63.91 kB / 1.435 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.211, allocations: 1.019 MB / 1.436 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.211, allocations: 29.7 kB / 1.436 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/1.212, allocations: 0.4897 MB / 1.436 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.212, allocations: 232.8 kB / 1.437 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.212, allocations: 0 / 1.437 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.212, allocations: 332 kB / 1.437 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/1.215, allocations: 2.074 MB / 1.439 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/1.217, allocations: 2.232 MB / 1.441 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.23, allocations: 4.485 MB / 1.445 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.23, allocations: 0 / 1.445 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01783/1.248, allocations: 8.195 MB / 1.453 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/1.248, allocations: 104.1 kB / 1.454 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01809/1.266, allocations: 7.24 MB / 1.461 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02888/1.295, allocations: 5.435 MB / 1.466 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/1.3, allocations: 0.7997 MB / 1.467 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.311, allocations: 5.256 MB / 1.472 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007857/1.319, allocations: 0.9902 MB / 1.473 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/1.32, allocations: 71.91 kB / 1.473 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.32, allocations: 4 kB / 1.473 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01928/1.339, allocations: 7.512 MB / 1.48 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01753/1.356, allocations: 7.007 MB / 1.487 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003363/1.36, allocations: 1.008 MB / 1.488 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007386/1.367, allocations: 1.053 MB / 1.489 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.378, allocations: 6.99 MB / 1.496 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/1.386, allocations: 0.9942 MB / 1.497 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/1.387, allocations: 71.91 kB / 1.497 GB, free: 1.891 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.0005177/1.387, allocations: 112.9 kB / 1.497 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01182/1.399, allocations: 5.448 MB / 1.502 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/1.399, allocations: 102.7 kB / 1.502 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009707/1.409, allocations: 4.744 MB / 1.507 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.409, allocations: 8 kB / 1.507 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.409, allocations: 3.984 kB / 1.507 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.409, allocations: 3.984 kB / 1.507 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.421, allocations: 6.875 MB / 1.514 GB, free: 360 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04285/1.464, allocations: 7.87 MB / 1.521 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.466, allocations: 423.4 kB / 1.522 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04257/1.509, allocations: 7.432 MB / 1.529 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.509, allocations: 35.94 kB / 1.529 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00722/1.517, allocations: 4.142 MB / 1.533 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.517, allocations: 0 / 1.533 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04372/1.56, allocations: 8.106 MB / 1.541 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.562, allocations: 0.5501 MB / 1.542 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/1.562, allocations: 0 / 1.542 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004813/1.567, allocations: 0.6161 MB / 1.542 GB, free: 3.066 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.567, allocations: 40.72 kB / 1.542 GB, free: 3.027 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.567, allocations: 51.95 kB / 1.542 GB, free: 2.977 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001275/1.569, allocations: 0.7816 MB / 1.543 GB, free: 2.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/1.569, allocations: 4 kB / 1.543 GB, free: 2.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002576/1.571, allocations: 0.7605 MB / 1.544 GB, free: 1.418 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.008266/1.58, allocations: 4.714 MB / 1.548 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009773/1.589, allocations: 5.963 MB / 1.554 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.589, allocations: 0 / 1.554 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002789/1.592, allocations: 1.509 MB / 1.556 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.594, allocations: 221.1 kB / 1.556 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/1.6, allocations: 2.99 MB / 1.559 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.601, allocations: 1.324 MB / 1.56 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004191/1.605, allocations: 0.9591 MB / 1.561 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.606, allocations: 435.2 kB / 1.562 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of SimCode: time 9.32e-07/1.606, allocations: 0 / 1.562 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/1.725, allocations: 72.19 MB / 1.632 GB, free: 7.113 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.725, allocations: 172 kB / 1.632 GB, free: 6.91 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.842/6.567, allocations: 0 / 1.632 GB, free: 6.91 MB / 1.042 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat does not exist to compare? outputFormat=mat