Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.0009203/0.0009202, allocations: 99.08 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.0009697/0.0009694, allocations: 177.3 kB / 15.94 MB, free: 228 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.392/2.392, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7864, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003528/0.79, allocations: 2.675 MB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.7919, allocations: 0.8433 MB / 0.957 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.7924, allocations: 7.219 kB / 0.957 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.7927, allocations: 55.39 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.7934, allocations: 174 kB / 0.9572 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.794, allocations: 132.4 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.7949, allocations: 431.2 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.7953, allocations: 178.1 kB / 0.958 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.7958, allocations: 211 kB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.7962, allocations: 239.1 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.7962, allocations: 23.28 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.7963, allocations: 27.59 kB / 0.9584 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.7964, allocations: 96.27 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.7965, allocations: 106.1 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.7969, allocations: 410.9 kB / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7969, allocations: 0 / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7969, allocations: 0 / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7969, allocations: 0 / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001319/0.7982, allocations: 0.7492 MB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7983, allocations: 8.25 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.751e-05/0.7984, allocations: 84.27 kB / 0.9598 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.7985, allocations: 61.55 kB / 0.9599 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.7989, allocations: 330 kB / 0.9602 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.7989, allocations: 34.16 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.799, allocations: 42.31 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.7997, allocations: 400.4 kB / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.7997, allocations: 0 / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.7998, allocations: 19.91 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.7998, allocations: 13.91 kB / 0.9607 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.8005, allocations: 344.7 kB / 0.961 GB, free: 2.43 MB / 0.7169 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.00211/0.8026, allocations: 1.499 MB / 0.9625 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.8033, allocations: 406.2 kB / 0.9629 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.8034, allocations: 3.5 kB / 0.9629 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8034, allocations: 37.16 kB / 0.9629 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.8034, allocations: 0 / 0.9629 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=41): time 0.007509/0.8109, allocations: 1.821 MB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.811, allocations: 59.52 kB / 0.9648 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.8115, allocations: 347.6 kB / 0.9651 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.8115, allocations: 31.7 kB / 0.9651 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.8117, allocations: 214 kB / 0.9653 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.8119, allocations: 142.6 kB / 0.9655 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.8119, allocations: 9.75 kB / 0.9655 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8121, allocations: 348.2 kB / 0.9658 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.8124, allocations: 135.9 kB / 0.9659 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.8127, allocations: 208.5 kB / 0.9661 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.8131, allocations: 161.1 kB / 0.9663 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8131, allocations: 0 / 0.9663 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00213/0.8152, allocations: 0.7335 MB / 0.967 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.8153, allocations: 98.69 kB / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8153, allocations: 0 / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.8172, allocations: 451.7 kB / 0.9675 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.8174, allocations: 29.62 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006807/0.8242, allocations: 3.974 MB / 0.9714 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.8248, allocations: 50.84 kB / 0.9715 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.8248, allocations: 14.62 kB / 0.9715 GB, free: 11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.8249, allocations: 4.312 kB / 0.9715 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/0.8269, allocations: 0.6659 MB / 0.9721 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8269, allocations: 1.406 kB / 0.9721 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.8286, allocations: 426.3 kB / 0.9726 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.8288, allocations: 30.53 kB / 0.9726 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.8354, allocations: 3.783 MB / 0.9763 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.836, allocations: 54.41 kB / 0.9763 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.8361, allocations: 11.34 kB / 0.9763 GB, free: 7.609 MB / 0.7325 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.8365, allocations: 228.8 kB / 0.9766 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8366, allocations: 47.86 kB / 0.9766 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.8368, allocations: 58.14 kB / 0.9767 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.8368, allocations: 7.984 kB / 0.9767 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8368, allocations: 0 / 0.9767 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8368, allocations: 0 / 0.9767 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.8377, allocations: 0.5072 MB / 0.9772 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8377, allocations: 0 / 0.9772 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.8379, allocations: 27.62 kB / 0.9772 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.8395, allocations: 395.9 kB / 0.9776 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.8396, allocations: 5.531 kB / 0.9776 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006056/0.8456, allocations: 3.776 MB / 0.9813 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8457, allocations: 0 / 0.9813 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.8477, allocations: 0.8281 MB / 0.9821 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.8479, allocations: 144.5 kB / 0.9822 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.848, allocations: 8 kB / 0.9822 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.8484, allocations: 23.88 kB / 0.9822 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8485, allocations: 39.95 kB / 0.9823 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.8485, allocations: 8 kB / 0.9823 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003162/0.8488, allocations: 251.2 kB / 0.9825 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8489, allocations: 0 / 0.9825 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001254/0.8501, allocations: 339.5 kB / 0.9828 GB, free: 1.355 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.00237/0.8525, allocations: 1.356 MB / 0.9842 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003133/0.8556, allocations: 1.183 MB / 0.9853 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8557, allocations: 4 kB / 0.9853 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.8569, allocations: 0.517 MB / 0.9858 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.8578, allocations: 113.2 kB / 0.9859 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006848/0.8647, allocations: 2.731 MB / 0.9886 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.8654, allocations: 0.8553 MB / 0.9894 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.8657, allocations: 35.27 kB / 0.9895 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.8659, allocations: 131.4 kB / 0.9896 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.214e-06/0.8659, allocations: 4 kB / 0.9896 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.9033, allocations: 15.59 MB / 1.005 GB, free: 11 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.9036, allocations: 224.4 kB / 1.005 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.191, allocations: 0 / 1.005 GB, free: 10.77 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat