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.001095/0.001095, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001407/0.001407, allocations: 172.7 kB / 15.95 MB, free: 208 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.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.461 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.426/2.426, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7289, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003375/0.7323, allocations: 2.82 MB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.7343, allocations: 0.8067 MB / 0.9574 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.7347, allocations: 14.72 kB / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.7349, allocations: 50.98 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.7354, allocations: 146.6 kB / 0.9576 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.7361, allocations: 135 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.7371, allocations: 0.585 MB / 0.9583 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.7376, allocations: 184.7 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.7381, allocations: 208.2 kB / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.7386, allocations: 239.2 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.7387, allocations: 23.72 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.7388, allocations: 28.69 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.7389, allocations: 87.92 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.7391, allocations: 113.1 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.7396, allocations: 413.8 kB / 0.9595 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7397, allocations: 0 / 0.9595 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7397, allocations: 0 / 0.9595 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7397, allocations: 0 / 0.9595 GB, free: 3.738 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.00189/0.7416, allocations: 0.7534 MB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/0.7417, allocations: 8.781 kB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.7418, allocations: 84.39 kB / 0.9604 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.742, allocations: 60.58 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.7426, allocations: 329.5 kB / 0.9607 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.7427, allocations: 39.22 kB / 0.9608 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7428, allocations: 45.78 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.7439, allocations: 404 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7439, allocations: 0 / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.744, allocations: 16.16 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.744, allocations: 10.09 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.745, allocations: 348.7 kB / 0.9616 GB, free: 2.258 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.003298/0.7483, allocations: 1.495 MB / 0.963 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.7494, allocations: 399 kB / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.7499, allocations: 236.2 kB / 0.9636 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/0.75, allocations: 15.84 kB / 0.9636 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.7501, allocations: 30.56 kB / 0.9637 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=41): time 3.316e-06/0.7501, allocations: 0 / 0.9637 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=41): time 0.01155/0.7616, allocations: 1.828 MB / 0.9655 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.7617, allocations: 55.41 kB / 0.9655 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.7625, allocations: 343.8 kB / 0.9658 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.7626, allocations: 35.95 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.7628, allocations: 213.8 kB / 0.9661 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.7631, allocations: 143.2 kB / 0.9662 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.7631, allocations: 12.81 kB / 0.9662 GB, free: 15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.7633, allocations: 347.6 kB / 0.9665 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.7639, allocations: 144.3 kB / 0.9667 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.7645, allocations: 205.7 kB / 0.9669 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.7652, allocations: 169.7 kB / 0.967 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.7652, allocations: 0 / 0.967 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003787/0.769, allocations: 0.7299 MB / 0.9678 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.7691, allocations: 102.3 kB / 0.9679 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7691, allocations: 0 / 0.9679 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.7723, allocations: 451.6 kB / 0.9683 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.7726, allocations: 34.27 kB / 0.9683 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.7842, allocations: 3.847 MB / 0.9721 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.7852, allocations: 51.03 kB / 0.9721 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.7853, allocations: 11.59 kB / 0.9721 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7853, allocations: 3.219 kB / 0.9721 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003458/0.7888, allocations: 0.6666 MB / 0.9728 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7888, allocations: 5.156 kB / 0.9728 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/0.7921, allocations: 426.3 kB / 0.9732 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.7924, allocations: 26.05 kB / 0.9732 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.805, allocations: 3.688 MB / 0.9768 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.8061, allocations: 54.45 kB / 0.9769 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.8062, allocations: 11.84 kB / 0.9769 GB, free: 7.418 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.0005033/0.8067, allocations: 243.3 kB / 0.9771 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.8069, allocations: 45.11 kB / 0.9772 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.8072, allocations: 56.3 kB / 0.9772 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.8072, allocations: 4.25 kB / 0.9772 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8072, allocations: 1 kB / 0.9772 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.8073, allocations: 3.984 kB / 0.9772 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.8085, allocations: 0.4949 MB / 0.9777 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.8085, allocations: 0 / 0.9777 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.8088, allocations: 27.08 kB / 0.9777 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/0.8115, allocations: 400.8 kB / 0.9781 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.8116, allocations: 10.19 kB / 0.9781 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009459/0.821, allocations: 3.656 MB / 0.9817 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.8211, allocations: 7.953 kB / 0.9817 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.8243, allocations: 0.8203 MB / 0.9825 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.8247, allocations: 144.5 kB / 0.9826 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.8248, allocations: 11.98 kB / 0.9827 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.8255, allocations: 32.08 kB / 0.9827 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.8256, allocations: 31.95 kB / 0.9827 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.8257, allocations: 8 kB / 0.9827 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005182/0.8262, allocations: 259.2 kB / 0.983 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8262, allocations: 0 / 0.983 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001832/0.8281, allocations: 339.5 kB / 0.9833 GB, free: 1.117 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.003502/0.8316, allocations: 1.364 MB / 0.9846 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003976/0.8356, allocations: 1.179 MB / 0.9858 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8356, allocations: 0 / 0.9858 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.837, allocations: 0.5055 MB / 0.9863 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.8381, allocations: 113.3 kB / 0.9864 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/0.8439, allocations: 2.742 MB / 0.9891 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.8444, allocations: 0.8404 MB / 0.9899 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00021/0.8447, allocations: 35.27 kB / 0.9899 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.8448, allocations: 131.4 kB / 0.99 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/0.8449, allocations: 0 / 0.99 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.879, allocations: 15.6 MB / 1.005 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.8793, allocations: 238.1 kB / 1.006 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/3.661, allocations: 4 kB / 1.006 GB, free: 10.53 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