Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_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.0007233/0.000723, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004933/0.004933, allocations: 169.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005381, allocations: 15.88 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2011, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003457/0.2046, allocations: 2.95 MB / 0.7909 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2063, allocations: 0.8813 MB / 0.7917 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.2067, allocations: 8 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.207, allocations: 43.56 kB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.2075, allocations: 146.9 kB / 0.7919 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.208, allocations: 159.8 kB / 0.7921 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.2088, allocations: 0.6273 MB / 0.7927 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.2091, allocations: 215.4 kB / 0.7929 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.2094, allocations: 195.2 kB / 0.7931 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.2099, allocations: 258.8 kB / 0.7933 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.2099, allocations: 24 kB / 0.7934 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.21, allocations: 20 kB / 0.7934 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2101, allocations: 95.53 kB / 0.7935 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.2104, allocations: 256.4 kB / 0.7937 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.2109, allocations: 0.5255 MB / 0.7942 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2109, allocations: 0 / 0.7942 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2109, allocations: 4 kB / 0.7942 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.211, allocations: 0 / 0.7942 GB, free: 5.051 MB / 0.6075 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.001493/0.2124, allocations: 0.7523 MB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2125, allocations: 8.031 kB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2126, allocations: 78.72 kB / 0.795 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2128, allocations: 64.27 kB / 0.7951 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.2132, allocations: 351.1 kB / 0.7954 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2133, allocations: 29.38 kB / 0.7955 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.2133, allocations: 44.38 kB / 0.7955 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.2141, allocations: 410.6 kB / 0.7959 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2141, allocations: 0 / 0.7959 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.2142, allocations: 16 kB / 0.7959 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2142, allocations: 12 kB / 0.7959 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.2149, allocations: 339.8 kB / 0.7963 GB, free: 2.875 MB / 0.6075 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.002304/0.2172, allocations: 1.501 MB / 0.7977 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.218, allocations: 407.9 kB / 0.7981 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.2184, allocations: 240.7 kB / 0.7983 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.2184, allocations: 4 kB / 0.7983 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2185, allocations: 34.56 kB / 0.7984 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.2185, allocations: 0 / 0.7984 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007895/0.2264, allocations: 1.856 MB / 0.8002 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2264, allocations: 59.34 kB / 0.8002 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.2268, allocations: 349.6 kB / 0.8006 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.2269, allocations: 33.7 kB / 0.8006 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.227, allocations: 212.7 kB / 0.8008 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2272, allocations: 145.8 kB / 0.801 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.2272, allocations: 33.7 kB / 0.801 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2274, allocations: 350.8 kB / 0.8013 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.2277, allocations: 143.9 kB / 0.8015 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2281, allocations: 221.8 kB / 0.8017 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.2287, allocations: 333.2 kB / 0.802 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2287, allocations: 8 kB / 0.802 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002161/0.2309, allocations: 0.7587 MB / 0.8027 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.2309, allocations: 89 kB / 0.8028 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.231, allocations: 0 / 0.8028 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.2328, allocations: 460.4 kB / 0.8033 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.233, allocations: 27.97 kB / 0.8033 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.2392, allocations: 3.867 MB / 0.8071 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.2398, allocations: 55.62 kB / 0.8071 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2398, allocations: 12.19 kB / 0.8071 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.2398, allocations: 4 kB / 0.8071 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/0.2418, allocations: 0.6797 MB / 0.8078 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2418, allocations: 4 kB / 0.8078 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.2434, allocations: 441.2 kB / 0.8082 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2435, allocations: 27.98 kB / 0.8082 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.249, allocations: 3.69 MB / 0.8118 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.2495, allocations: 55.72 kB / 0.8119 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2495, allocations: 15.94 kB / 0.8119 GB, free: 2.324 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.2498, allocations: 225.8 kB / 0.8121 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.2499, allocations: 47.42 kB / 0.8122 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.25, allocations: 64.47 kB / 0.8122 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.25, allocations: 4 kB / 0.8122 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.25, allocations: 0 / 0.8122 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.25, allocations: 3.938 kB / 0.8122 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.2506, allocations: 0.4902 MB / 0.8127 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2506, allocations: 0 / 0.8127 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2508, allocations: 35.91 kB / 0.8128 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.2523, allocations: 396.7 kB / 0.8131 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2523, allocations: 8 kB / 0.8131 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/0.2578, allocations: 3.67 MB / 0.8167 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2578, allocations: 4 kB / 0.8167 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.2598, allocations: 0.8124 MB / 0.8175 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.26, allocations: 152.4 kB / 0.8177 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.26, allocations: 8 kB / 0.8177 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2604, allocations: 31.89 kB / 0.8177 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2605, allocations: 39.88 kB / 0.8177 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2605, allocations: 8 kB / 0.8178 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002545/0.2608, allocations: 251.2 kB / 0.818 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2608, allocations: 0 / 0.818 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009716/0.2618, allocations: 339.5 kB / 0.8183 GB, free: 11.53 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/0.264, allocations: 1.368 MB / 0.8197 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.2667, allocations: 1.186 MB / 0.8208 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2667, allocations: 0 / 0.8208 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.2678, allocations: 0.5016 MB / 0.8213 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.2685, allocations: 121.3 kB / 0.8214 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/0.2766, allocations: 4.686 MB / 0.826 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2771, allocations: 0.8437 MB / 0.8268 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.2773, allocations: 39.27 kB / 0.8269 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2774, allocations: 131.4 kB / 0.827 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.2774, allocations: 0 / 0.827 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.3165, allocations: 15.9 MB / 0.8425 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/0.3169, allocations: 244.7 kB / 0.8427 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.41, allocations: 4 kB / 0.8427 GB, free: 2.625 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)