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.0009278/0.0009277, allocations: 99.62 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.0009324/0.0009325, 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.426/1.426, allocations: 223.2 MB / 239.9 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.299/2.299, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003757, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8229, allocations: 142.3 MB / 0.9536 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.004352/0.8273, allocations: 4.125 MB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.8326, allocations: 4.102 MB / 0.9616 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005535/0.8332, allocations: 14.19 kB / 0.9616 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.8346, allocations: 493.6 kB / 0.9621 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008444/0.8354, allocations: 391.2 kB / 0.9625 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.837, allocations: 0.5684 MB / 0.963 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.8386, allocations: 1.126 MB / 0.9641 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.8393, allocations: 451.3 kB / 0.9646 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.84, allocations: 0.5085 MB / 0.9651 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.8407, allocations: 0.5839 MB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.8409, allocations: 66.91 kB / 0.9657 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008427/0.8417, allocations: 306.6 kB / 0.966 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.842, allocations: 242 kB / 0.9662 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.8422, allocations: 259.5 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.8438, allocations: 1.56 MB / 0.968 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8438, allocations: 0.8438 kB / 0.968 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8438, allocations: 0 / 0.968 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.8438, allocations: 0 / 0.968 GB, free: 13.38 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.003436/0.8473, allocations: 1.665 MB / 0.9696 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8473, allocations: 8.75 kB / 0.9696 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.8475, allocations: 124.7 kB / 0.9697 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02591/0.8734, allocations: 3.882 MB / 0.9735 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02731/0.9008, allocations: 3.749 MB / 0.9772 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.9009, allocations: 54 kB / 0.9773 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000666/0.9016, allocations: 76 kB / 0.9773 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006179/0.9078, allocations: 2.033 MB / 0.9793 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.9078, allocations: 3.984 kB / 0.9793 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.908, allocations: 28 kB / 0.9793 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.908, allocations: 23.95 kB / 0.9794 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00554/0.9135, allocations: 1.737 MB / 0.9811 GB, free: 3.812 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.0112/0.9247, allocations: 7.389 MB / 0.9883 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/0.9304, allocations: 1.825 MB / 0.9901 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.9308, allocations: 396.9 kB / 0.9904 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.9309, allocations: 47.08 kB / 0.9905 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 4.227e-06/0.9309, allocations: 3.938 kB / 0.9905 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.03684/0.9677, allocations: 8.733 MB / 0.999 GB, free: 496 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.9679, allocations: 59.97 kB / 0.9991 GB, free: 424 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.9708, allocations: 1.064 MB / 1 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007038/0.9715, allocations: 37.7 kB / 1 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008258/0.9724, allocations: 492.8 kB / 1.001 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.973, allocations: 236.4 kB / 1.001 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.9734, allocations: 16 kB / 1.001 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9736, allocations: 333.9 kB / 1.001 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009301/0.9829, allocations: 2.28 MB / 1.003 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009516/0.9925, allocations: 2.394 MB / 1.006 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/1.001, allocations: 2.025 MB / 1.008 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.002, allocations: 0 / 1.008 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02498/1.026, allocations: 6.024 MB / 1.014 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.027, allocations: 97.48 kB / 1.014 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01914/1.046, allocations: 4.771 MB / 1.018 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08713/1.133, allocations: 10.43 MB / 1.029 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/1.137, allocations: 391.4 kB / 1.029 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008013/1.145, allocations: 3.056 MB / 1.032 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/1.15, allocations: 410.8 kB / 1.032 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/1.15, allocations: 79.92 kB / 1.032 GB, free: 14.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.15, allocations: 4 kB / 1.032 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02045/1.171, allocations: 5.141 MB / 1.037 GB, free: 9.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01753/1.189, allocations: 4.552 MB / 1.042 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/1.191, allocations: 0.8199 MB / 1.043 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/1.196, allocations: 487.3 kB / 1.043 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.206, allocations: 6.32 MB / 1.049 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005081/1.211, allocations: 402.9 kB / 1.05 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/1.212, allocations: 75.92 kB / 1.05 GB, free: 12.22 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.00125/1.213, allocations: 478 kB / 1.05 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/1.213, allocations: 110.5 kB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.23, allocations: 4.772 MB / 1.055 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.23, allocations: 11.98 kB / 1.055 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.23, allocations: 4 kB / 1.055 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.231, allocations: 3.984 kB / 1.055 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.25, allocations: 6.544 MB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03587/1.286, allocations: 5.159 MB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.288, allocations: 199.7 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1061/1.394, allocations: 15.2 MB / 1.081 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004775/1.394, allocations: 43.94 kB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007934/1.402, allocations: 3.081 MB / 1.084 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.402, allocations: 3.984 kB / 1.084 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03656/1.439, allocations: 5.467 MB / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.44, allocations: 0.4914 MB / 1.09 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006653/1.441, allocations: 15.95 kB / 1.09 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/1.445, allocations: 243.6 kB / 1.091 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.445, allocations: 40.59 kB / 1.091 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.445, allocations: 47.95 kB / 1.091 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001476/1.446, allocations: 0.7489 MB / 1.091 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/1.446, allocations: 8 kB / 1.091 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0033/1.45, allocations: 0.7216 MB / 1.092 GB, free: 468 kB / 0.8419 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.01644/1.466, allocations: 4.627 MB / 1.097 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02367/1.49, allocations: 6.301 MB / 1.103 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.49, allocations: 0 / 1.103 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006044/1.496, allocations: 1.626 MB / 1.104 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.498, allocations: 253.6 kB / 1.105 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.51, allocations: 4.486 MB / 1.109 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.511, allocations: 1.322 MB / 1.11 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00417/1.515, allocations: 0.8353 MB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.516, allocations: 463.2 kB / 1.112 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of SimCode: time 9.11e-07/1.516, allocations: 0 / 1.112 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.638, allocations: 75.09 MB / 1.185 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.638, allocations: 239.5 kB / 1.185 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.125/6.763, allocations: 3.25 kB / 1.185 GB, free: 1.418 MB / 0.9356 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