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.001326/0.001326, allocations: 100 kB / 15.05 MB, free: 1.105 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.001575/0.001575, allocations: 177.3 kB / 15.95 MB, free: 216 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.384/1.384, allocations: 223.2 MB / 239.9 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.615/2.615, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7415, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005076/0.7466, allocations: 4.135 MB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006284/0.7529, allocations: 4.102 MB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.7536, allocations: 11.94 kB / 0.9889 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.7552, allocations: 485.9 kB / 0.9894 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.7563, allocations: 398.8 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.7579, allocations: 0.5681 MB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.7597, allocations: 1.12 MB / 0.9914 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.7603, allocations: 453.4 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.761, allocations: 0.5137 MB / 0.9924 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.7617, allocations: 0.5795 MB / 0.9929 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.7618, allocations: 64 kB / 0.993 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.7626, allocations: 307.7 kB / 0.9933 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.7628, allocations: 243 kB / 0.9935 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.763, allocations: 257.1 kB / 0.9938 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7645, allocations: 1.561 MB / 0.9953 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7645, allocations: 3.938 kB / 0.9953 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7645, allocations: 0 / 0.9953 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.7645, allocations: 4 kB / 0.9953 GB, free: 7.469 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.003238/0.7678, allocations: 1.67 MB / 0.9969 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7678, allocations: 12.03 kB / 0.9969 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.768, allocations: 114.5 kB / 0.997 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02674/0.7947, allocations: 3.88 MB / 1.001 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02758/0.8224, allocations: 3.742 MB / 1.004 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.8225, allocations: 58 kB / 1.005 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006071/0.8232, allocations: 75.94 kB / 1.005 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/0.8297, allocations: 2.04 MB / 1.007 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.8297, allocations: 0 / 1.007 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.8299, allocations: 28 kB / 1.007 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.8299, allocations: 20 kB / 1.007 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006041/0.836, allocations: 1.733 MB / 1.008 GB, free: 9.961 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.01209/0.8481, allocations: 7.393 MB / 1.016 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/0.854, allocations: 1.819 MB / 1.017 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/0.8545, allocations: 404.8 kB / 1.018 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8545, allocations: 39.12 kB / 1.018 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.8545, allocations: 0 / 1.018 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.03613/0.8907, allocations: 8.741 MB / 1.026 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.8907, allocations: 55.97 kB / 1.026 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.8923, allocations: 1.06 MB / 1.027 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.8927, allocations: 41.7 kB / 1.027 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.8932, allocations: 488.8 kB / 1.028 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.8935, allocations: 248.4 kB / 1.028 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.8937, allocations: 12 kB / 1.028 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8938, allocations: 334 kB / 1.028 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00929/0.9031, allocations: 2.277 MB / 1.031 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009508/0.9127, allocations: 2.39 MB / 1.033 GB, free: 15.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009142/0.9218, allocations: 2.021 MB / 1.035 GB, free: 13.64 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.9219, allocations: 0 / 1.035 GB, free: 13.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02508/0.947, allocations: 6.032 MB / 1.041 GB, free: 7.594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.9471, allocations: 99.91 kB / 1.041 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02025/0.9674, allocations: 4.772 MB / 1.046 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08912/1.057, allocations: 10.43 MB / 1.056 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/1.06, allocations: 391.5 kB / 1.056 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/1.068, allocations: 3.048 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/1.073, allocations: 414.9 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/1.073, allocations: 71.91 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.073, allocations: 4 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02041/1.094, allocations: 5.149 MB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01753/1.111, allocations: 4.552 MB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/1.113, allocations: 0.8121 MB / 1.07 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004711/1.118, allocations: 487.3 kB / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009611/1.128, allocations: 6.328 MB / 1.077 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.133, allocations: 406.9 kB / 1.077 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/1.134, allocations: 75.86 kB / 1.077 GB, free: 2.375 MB / 0.8262 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.0009957/1.135, allocations: 476.9 kB / 1.077 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.135, allocations: 106.6 kB / 1.078 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.152, allocations: 4.788 MB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.152, allocations: 7.953 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.152, allocations: 4 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.152, allocations: 7.922 kB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.17, allocations: 6.552 MB / 1.089 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03541/1.205, allocations: 5.147 MB / 1.094 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.207, allocations: 195.8 kB / 1.094 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1074/1.315, allocations: 15.2 MB / 1.109 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/1.315, allocations: 43.95 kB / 1.109 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/1.322, allocations: 3.084 MB / 1.112 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.322, allocations: 0 / 1.112 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03673/1.359, allocations: 5.467 MB / 1.117 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.36, allocations: 499.2 kB / 1.118 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.361, allocations: 16 kB / 1.118 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.364, allocations: 235.6 kB / 1.118 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.364, allocations: 44.59 kB / 1.118 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.364, allocations: 51.94 kB / 1.118 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009812/1.365, allocations: 0.7567 MB / 1.119 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.365, allocations: 0 / 1.119 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002008/1.367, allocations: 0.7138 MB / 1.119 GB, free: 6.625 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.01607/1.383, allocations: 4.636 MB / 1.124 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02427/1.407, allocations: 6.297 MB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.407, allocations: 4 kB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006018/1.413, allocations: 1.623 MB / 1.132 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.415, allocations: 266.1 kB / 1.132 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009953/1.425, allocations: 4.475 MB / 1.136 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/1.426, allocations: 1.326 MB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003899/1.429, allocations: 0.8353 MB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/1.43, allocations: 467.2 kB / 1.139 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of SimCode: time 2.014e-06/1.43, allocations: 0 / 1.139 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.545, allocations: 75.08 MB / 1.212 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.545, allocations: 234.4 kB / 1.212 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.162/6.707, allocations: 4.062 kB / 1.212 GB, free: 7.598 MB / 0.9669 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