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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008196, allocations: 91.61 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.0008311/0.0008313, 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.434/1.434, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.603/2.603, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003753, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8656, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005545/0.8712, allocations: 4.454 MB / 0.9855 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007379/0.8787, allocations: 4.267 MB / 0.9897 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.8796, allocations: 15.94 kB / 0.9897 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.8814, allocations: 487.8 kB / 0.9901 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.8826, allocations: 365.6 kB / 0.9905 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.8846, allocations: 0.5482 MB / 0.991 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.8868, allocations: 1.704 MB / 0.9927 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007001/0.8875, allocations: 457.4 kB / 0.9931 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.8884, allocations: 0.5291 MB / 0.9936 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.8892, allocations: 0.6457 MB / 0.9943 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.8893, allocations: 64 kB / 0.9943 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.8903, allocations: 299.7 kB / 0.9946 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.8906, allocations: 255 kB / 0.9949 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.8909, allocations: 261 kB / 0.9951 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.8925, allocations: 1.582 MB / 0.9967 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8925, allocations: 0 / 0.9967 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8925, allocations: 0 / 0.9967 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.8925, allocations: 4 kB / 0.9967 GB, free: 6.281 MB / 0.7481 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.003275/0.8958, allocations: 1.686 MB / 0.9983 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.8959, allocations: 8.031 kB / 0.9983 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.896, allocations: 122.5 kB / 0.9984 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/0.9182, allocations: 3.872 MB / 1.002 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02259/0.9409, allocations: 3.774 MB / 1.006 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.941, allocations: 54 kB / 1.006 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007066/0.9418, allocations: 76 kB / 1.006 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005639/0.9474, allocations: 2.036 MB / 1.008 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.9474, allocations: 0 / 1.008 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.9476, allocations: 28 kB / 1.008 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.9476, allocations: 20 kB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005007/0.9526, allocations: 1.733 MB / 1.01 GB, free: 8.738 MB / 0.7637 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.01026/0.9629, allocations: 7.377 MB / 1.017 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/0.9679, allocations: 1.825 MB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/0.9723, allocations: 1.51 MB / 1.02 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.9727, allocations: 392.9 kB / 1.021 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.9727, allocations: 39.11 kB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.9728, allocations: 0 / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.03265/1.005, allocations: 8.927 MB / 1.029 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.006, allocations: 59.97 kB / 1.029 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.007, allocations: 1.064 MB / 1.03 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/1.007, allocations: 41.64 kB / 1.03 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/1.008, allocations: 0.489 MB / 1.031 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/1.008, allocations: 232.5 kB / 1.031 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/1.008, allocations: 19.94 kB / 1.031 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.008, allocations: 330 kB / 1.032 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007822/1.016, allocations: 2.28 MB / 1.034 GB, free: 15.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008034/1.024, allocations: 2.398 MB / 1.036 GB, free: 12.74 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007736/1.032, allocations: 2.017 MB / 1.038 GB, free: 10.72 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.032, allocations: 0 / 1.038 GB, free: 10.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02337/1.056, allocations: 6.028 MB / 1.044 GB, free: 4.676 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/1.056, allocations: 99.97 kB / 1.044 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01757/1.073, allocations: 4.775 MB / 1.049 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07885/1.152, allocations: 10.44 MB / 1.059 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003366/1.156, allocations: 387.5 kB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007532/1.163, allocations: 3.056 MB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.167, allocations: 402.8 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.168, allocations: 75.86 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.168, allocations: 4 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01905/1.187, allocations: 5.149 MB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01693/1.204, allocations: 4.556 MB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.206, allocations: 0.8199 MB / 1.073 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/1.21, allocations: 487.3 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.22, allocations: 6.121 MB / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/1.225, allocations: 406.9 kB / 1.08 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004133/1.225, allocations: 71.92 kB / 1.08 GB, free: 15.65 MB / 0.8419 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.001211/1.226, allocations: 480.8 kB / 1.08 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/1.227, allocations: 110.6 kB / 1.08 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.243, allocations: 4.768 MB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.243, allocations: 8 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.243, allocations: 224 / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.243, allocations: 7.984 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.26, allocations: 6.556 MB / 1.092 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03039/1.291, allocations: 5.14 MB / 1.097 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.292, allocations: 203.7 kB / 1.097 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09479/1.387, allocations: 15.19 MB / 1.112 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.388, allocations: 43.95 kB / 1.112 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007219/1.395, allocations: 3.088 MB / 1.115 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.395, allocations: 0 / 1.115 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/1.427, allocations: 5.447 MB / 1.12 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.429, allocations: 499.2 kB / 1.12 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/1.429, allocations: 12 kB / 1.12 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.431, allocations: 239.6 kB / 1.121 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.431, allocations: 44.53 kB / 1.121 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.432, allocations: 55.94 kB / 1.121 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001135/1.433, allocations: 0.7528 MB / 1.121 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/1.433, allocations: 3.938 kB / 1.121 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002184/1.435, allocations: 0.7138 MB / 1.122 GB, free: 3.941 MB / 0.8731 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.0141/1.449, allocations: 4.474 MB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02102/1.47, allocations: 6.301 MB / 1.133 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.47, allocations: 0 / 1.133 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005347/1.475, allocations: 1.619 MB / 1.134 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.477, allocations: 270.2 kB / 1.135 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0583/1.535, allocations: 14.64 MB / 1.149 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.537, allocations: 1.295 MB / 1.15 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.008479/1.545, allocations: 0.8392 MB / 1.151 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/1.547, allocations: 463.2 kB / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of SimCode: time 1.724e-06/1.547, allocations: 0 / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/1.683, allocations: 76.11 MB / 1.226 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.684, allocations: 243 kB / 1.226 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.379/7.063, allocations: 0 / 1.226 GB, free: 9.723 MB / 0.9825 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) Environment - environmentSimulation: 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