Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001287/0.001287, allocations: 194.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.62 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4097, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.005191/0.4149, allocations: 3.334 MB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4168, allocations: 0.8413 MB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.417, allocations: 7.938 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.4172, allocations: 47.56 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.4176, allocations: 150.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.4181, allocations: 155.8 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.4188, allocations: 0.6196 MB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.4192, allocations: 215.5 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.4196, allocations: 254.9 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.42, allocations: 278.8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.42, allocations: 39.94 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.4201, allocations: 36 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.4203, allocations: 103.6 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.4207, allocations: 262.6 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.4212, allocations: 0.5452 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4212, allocations: 4 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4212, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4213, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 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.001675/0.4229, allocations: 0.8263 MB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.423, allocations: 12.03 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.4231, allocations: 60.28 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.4236, allocations: 339.2 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.4236, allocations: 33.38 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.4237, allocations: 44.38 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.4245, allocations: 402.8 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4245, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.4246, allocations: 16 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.4246, allocations: 8 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.4253, allocations: 339.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 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.002432/0.4277, allocations: 1.493 MB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.4286, allocations: 399.1 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.4291, allocations: 233.3 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.4291, allocations: 8 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4292, allocations: 42.56 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 4.128e-06/0.4292, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.007838/0.437, allocations: 1.825 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4371, allocations: 59.34 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.4377, allocations: 353.7 kB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.4377, allocations: 29.7 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4379, allocations: 220.6 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4381, allocations: 138 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.4382, allocations: 61.7 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4384, allocations: 350.8 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.4387, allocations: 148.7 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.4391, allocations: 209.8 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.4397, allocations: 337.2 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4397, allocations: 0 / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002203/0.442, allocations: 0.7392 MB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.442, allocations: 11.94 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.442, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.4439, allocations: 460.9 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.4441, allocations: 23.98 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.4513, allocations: 3.857 MB / 1.087 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.4519, allocations: 43.72 kB / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.4519, allocations: 12 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004835/0.4524, allocations: 256.1 kB / 1.087 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003703/0.4528, allocations: 206.2 kB / 1.087 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005894/0.4534, allocations: 313.4 kB / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.4534, allocations: 3.984 kB / 1.088 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.002107/0.4555, allocations: 0.7278 MB / 1.088 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4555, allocations: 5.406 kB / 1.088 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4556, allocations: 3.938 kB / 1.088 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.4572, allocations: 440.3 kB / 1.089 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4573, allocations: 23.97 kB / 1.089 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/0.4636, allocations: 3.717 MB / 1.092 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.4642, allocations: 47.72 kB / 1.093 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.4643, allocations: 12 kB / 1.093 GB, free: 0.6523 MB / 0.8419 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.0001871/0.4645, allocations: 198 kB / 1.093 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4646, allocations: 39.53 kB / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.4647, allocations: 64.48 kB / 1.093 GB, free: 360 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4647, allocations: 4 kB / 1.093 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4647, allocations: 7.875 kB / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4648, allocations: 0 / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.4655, allocations: 0.4903 MB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.4655, allocations: 0 / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.4656, allocations: 19.98 kB / 1.093 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.4672, allocations: 404.9 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.4673, allocations: 8 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.4733, allocations: 3.679 MB / 1.097 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4734, allocations: 0 / 1.097 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.4754, allocations: 0.8108 MB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.4757, allocations: 156.4 kB / 1.098 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.4757, allocations: 8 kB / 1.098 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.4761, allocations: 19.98 kB / 1.098 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.4762, allocations: 39.88 kB / 1.098 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.4762, allocations: 12 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000418/0.4767, allocations: 259.2 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.673e-06/0.4767, allocations: 0 / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001251/0.4779, allocations: 339.5 kB / 1.099 GB, free: 9.898 MB / 0.8575 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.0001815/0.4781, allocations: 107.2 kB / 1.099 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003067/0.4812, allocations: 1.16 MB / 1.1 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4812, allocations: 0 / 1.1 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.4824, allocations: 0.5052 MB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.4832, allocations: 106.9 kB / 1.101 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.4854, allocations: 0.9871 MB / 1.102 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.486, allocations: 0.8443 MB / 1.103 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.4862, allocations: 31.28 kB / 1.103 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.4863, allocations: 23.44 kB / 1.103 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of SimCode: time 1.203e-06/0.4863, allocations: 0 / 1.103 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.02416/0.5105, allocations: 12.57 MB / 1.115 GB, free: 9.602 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)