Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.GlassLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_latest_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.001115/0.001114, allocations: 100.2 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.001236/0.001236, 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.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8183, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003077/0.8215, allocations: 2.669 MB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.8228, allocations: 0.8497 MB / 0.9843 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.823, allocations: 4 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.8231, allocations: 47.56 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.8234, allocations: 171.5 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.8238, allocations: 135.8 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.8243, allocations: 432.1 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.8246, allocations: 179.4 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.8249, allocations: 215.3 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.8252, allocations: 247 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.8253, allocations: 23.94 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.8253, allocations: 24 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.8254, allocations: 91.62 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.8255, allocations: 113.5 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.8259, allocations: 401.1 kB / 0.9863 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.8259, allocations: 0 / 0.9863 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8259, allocations: 0 / 0.9863 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.8259, allocations: 0 / 0.9863 GB, free: 0.6758 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001336/0.8273, allocations: 0.7599 MB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8273, allocations: 8.031 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.8274, allocations: 82.53 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.8275, allocations: 51.44 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.828, allocations: 334 kB / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.828, allocations: 44.98 kB / 0.9875 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.8281, allocations: 40 kB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.8288, allocations: 402.4 kB / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8288, allocations: 0 / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.8288, allocations: 16 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.8288, allocations: 8 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.8295, allocations: 347.8 kB / 0.9883 GB, free: 14.51 MB / 0.7481 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.002192/0.8317, allocations: 1.497 MB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.8324, allocations: 395.2 kB / 0.9902 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.8324, allocations: 11.92 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.8325, allocations: 42.56 kB / 0.9902 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=41): time 1.433e-06/0.8325, allocations: 0 / 0.9902 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=41): time 0.007299/0.8398, allocations: 1.806 MB / 0.992 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.8398, allocations: 55.41 kB / 0.992 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.8402, allocations: 349.7 kB / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.8403, allocations: 37.7 kB / 0.9924 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.8405, allocations: 212.6 kB / 0.9926 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.8406, allocations: 141.9 kB / 0.9927 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.8406, allocations: 8 kB / 0.9927 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8407, allocations: 346.8 kB / 0.9931 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.841, allocations: 131.9 kB / 0.9932 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.8414, allocations: 213.8 kB / 0.9934 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.8417, allocations: 164.7 kB / 0.9936 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8417, allocations: 0 / 0.9936 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001915/0.8436, allocations: 0.7353 MB / 0.9943 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.8437, allocations: 104.9 kB / 0.9944 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8437, allocations: 0 / 0.9944 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.8454, allocations: 449 kB / 0.9948 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.8456, allocations: 31.91 kB / 0.9948 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.8518, allocations: 3.946 MB / 0.9987 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.8523, allocations: 51.67 kB / 0.9987 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.8523, allocations: 15.95 kB / 0.9987 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.8523, allocations: 4 kB / 0.9988 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00178/0.8541, allocations: 0.6759 MB / 0.9994 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.8541, allocations: 0 / 0.9994 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.8557, allocations: 428.7 kB / 0.9998 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.8558, allocations: 31.98 kB / 0.9999 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.8613, allocations: 3.793 MB / 1.004 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.8618, allocations: 43.73 kB / 1.004 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.8619, allocations: 12 kB / 1.004 GB, free: 14.35 MB / 0.7637 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.0002503/0.8621, allocations: 237 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.8622, allocations: 39.53 kB / 1.004 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8623, allocations: 64.47 kB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8623, allocations: 4 kB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8623, allocations: 0 / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8623, allocations: 3.984 kB / 1.004 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.8629, allocations: 0.498 MB / 1.004 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8629, allocations: 4 kB / 1.004 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.863, allocations: 19.98 kB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.8645, allocations: 409.2 kB / 1.005 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.8645, allocations: 8 kB / 1.005 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005408/0.87, allocations: 3.796 MB / 1.009 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.87, allocations: 0 / 1.009 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.8718, allocations: 0.8073 MB / 1.009 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.8721, allocations: 152.5 kB / 1.009 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.8721, allocations: 4 kB / 1.009 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.8724, allocations: 27.89 kB / 1.01 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.8726, allocations: 43.89 kB / 1.01 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.8726, allocations: 8 kB / 1.01 GB, free: 8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002608/0.8729, allocations: 247.2 kB / 1.01 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8729, allocations: 0 / 1.01 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001009/0.8739, allocations: 339.5 kB / 1.01 GB, free: 7.426 MB / 0.7637 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.002136/0.876, allocations: 1.356 MB / 1.011 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.8786, allocations: 1.178 MB / 1.013 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.8786, allocations: 4 kB / 1.013 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.8796, allocations: 0.4938 MB / 1.013 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.8802, allocations: 117.2 kB / 1.013 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.8852, allocations: 2.743 MB / 1.016 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.8856, allocations: 0.8553 MB / 1.017 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000175/0.8858, allocations: 39.27 kB / 1.017 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.886, allocations: 127.4 kB / 1.017 GB, free: 376 kB / 0.7637 GB Notification: Performance of SimCode: time 1.523e-06/0.886, allocations: 0 / 1.017 GB, free: 376 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.9179, allocations: 15.61 MB / 1.032 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.9181, allocations: 224.3 kB / 1.032 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.953, allocations: 0 / 1.032 GB, free: 0.8789 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat