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.001035/0.001035, allocations: 91.84 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.001266/0.001266, 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.58/2.58, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004363, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8379, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.00347/0.8414, allocations: 2.817 MB / 0.9839 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.8428, allocations: 0.819 MB / 0.9847 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.843, allocations: 11.94 kB / 0.9847 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.8431, allocations: 43.62 kB / 0.9847 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.8434, allocations: 150.8 kB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.8438, allocations: 142.2 kB / 0.985 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.8444, allocations: 0.5883 MB / 0.9856 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.8448, allocations: 179.4 kB / 0.9858 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.845, allocations: 207.2 kB / 0.986 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.8454, allocations: 243 kB / 0.9862 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.8454, allocations: 24 kB / 0.9862 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.8455, allocations: 24 kB / 0.9862 GB, free: 1 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.8456, allocations: 91.58 kB / 0.9863 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.8457, allocations: 109.5 kB / 0.9864 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.8461, allocations: 413.1 kB / 0.9868 GB, free: 404 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8461, allocations: 4 kB / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8461, allocations: 0 / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.8461, allocations: 0 / 0.9868 GB, free: 400 kB / 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.001442/0.8476, allocations: 0.7599 MB / 0.9876 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.8476, allocations: 8.031 kB / 0.9876 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.8477, allocations: 78.52 kB / 0.9877 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.8478, allocations: 59.44 kB / 0.9877 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.8483, allocations: 330 kB / 0.988 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.8483, allocations: 33 kB / 0.9881 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.8484, allocations: 48 kB / 0.9881 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.8491, allocations: 402.4 kB / 0.9885 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.8492, allocations: 0 / 0.9885 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.8492, allocations: 16 kB / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.8492, allocations: 12 kB / 0.9885 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.8499, allocations: 343.8 kB / 0.9888 GB, free: 14.23 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.00227/0.8522, allocations: 1.493 MB / 0.9903 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.8529, allocations: 399.2 kB / 0.9907 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.8533, allocations: 244.6 kB / 0.9909 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.8534, allocations: 8 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8534, allocations: 38.34 kB / 0.991 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.8534, allocations: 0 / 0.991 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=41): time 0.006898/0.8603, allocations: 1.817 MB / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.8604, allocations: 55.41 kB / 0.9928 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.8608, allocations: 349.7 kB / 0.9931 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.8608, allocations: 33.7 kB / 0.9932 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.861, allocations: 216.6 kB / 0.9934 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.8611, allocations: 141.9 kB / 0.9935 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.8612, allocations: 4 kB / 0.9935 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8613, allocations: 358.8 kB / 0.9938 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.8616, allocations: 135.9 kB / 0.994 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.862, allocations: 209.9 kB / 0.9942 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.8623, allocations: 160.6 kB / 0.9943 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8623, allocations: 0 / 0.9943 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001871/0.8641, allocations: 0.747 MB / 0.9951 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.8642, allocations: 96.95 kB / 0.9951 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8642, allocations: 0 / 0.9951 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.8659, allocations: 452.9 kB / 0.9956 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.8661, allocations: 31.97 kB / 0.9956 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.8723, allocations: 3.831 MB / 0.9994 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.8728, allocations: 59.45 kB / 0.9994 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.8728, allocations: 16 kB / 0.9994 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8728, allocations: 4 kB / 0.9994 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001775/0.8746, allocations: 0.672 MB / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.8746, allocations: 0 / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.8761, allocations: 432.7 kB / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8762, allocations: 35.84 kB / 1.001 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.8818, allocations: 3.666 MB / 1.004 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.8822, allocations: 55.67 kB / 1.004 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.8823, allocations: 15.97 kB / 1.004 GB, free: 14.02 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.0003256/0.8826, allocations: 233 kB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.8827, allocations: 43.53 kB / 1.004 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.8828, allocations: 56.48 kB / 1.004 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8828, allocations: 7.938 kB / 1.005 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8829, allocations: 128 / 1.005 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8829, allocations: 11.98 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.8835, allocations: 0.4902 MB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8835, allocations: 0 / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.8836, allocations: 23.98 kB / 1.005 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.885, allocations: 401.2 kB / 1.005 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.8851, allocations: 8 kB / 1.005 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.8908, allocations: 3.678 MB / 1.009 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8908, allocations: 3.984 kB / 1.009 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.8926, allocations: 0.819 MB / 1.01 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.8928, allocations: 148.5 kB / 1.01 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.8929, allocations: 4 kB / 1.01 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.8932, allocations: 35.78 kB / 1.01 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.8933, allocations: 39.94 kB / 1.01 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.8933, allocations: 8 kB / 1.01 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002846/0.8936, allocations: 251.2 kB / 1.01 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8936, allocations: 0 / 1.01 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001077/0.8947, allocations: 335.5 kB / 1.011 GB, free: 7.215 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.002153/0.8968, allocations: 1.36 MB / 1.012 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.8996, allocations: 1.167 MB / 1.013 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8996, allocations: 4 kB / 1.013 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.9007, allocations: 0.5016 MB / 1.014 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.9014, allocations: 113.3 kB / 1.014 GB, free: 4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.907, allocations: 2.759 MB / 1.016 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.9075, allocations: 0.8365 MB / 1.017 GB, free: 332 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.9077, allocations: 31.28 kB / 1.017 GB, free: 300 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.9079, allocations: 139.3 kB / 1.017 GB, free: 160 kB / 0.7637 GB Notification: Performance of SimCode: time 1.362e-06/0.9079, allocations: 3.938 kB / 1.017 GB, free: 156 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.9417, allocations: 15.61 MB / 1.033 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.942, allocations: 242.8 kB / 1.033 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/3.139, allocations: 0 / 1.033 GB, free: 0.6523 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