Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.654/1.654, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008895, allocations: 94.52 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.561e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.244, allocations: 2.474 GB / 3.366 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/7.244, allocations: 91.89 kB / 3.366 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.112/10.36, allocations: 0.9034 GB / 4.269 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/10.36, allocations: 4 kB / 4.269 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008591/10.36, allocations: 123.8 kB / 4.27 GB, free: 500 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.7248/11.08, allocations: 4.222 MB / 4.274 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/11.08, allocations: 10.39 kB / 4.274 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003381/11.08, allocations: 0.5166 MB / 4.274 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/11.1, allocations: 1.149 MB / 4.275 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02787/11.13, allocations: 5.319 MB / 4.281 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/11.13, allocations: 276.2 kB / 4.281 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/11.13, allocations: 372.5 kB / 4.281 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/11.15, allocations: 4.972 MB / 4.286 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/11.15, allocations: 6.375 kB / 4.286 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008377/11.15, allocations: 154 kB / 4.286 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/11.15, allocations: 178.2 kB / 4.286 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/11.17, allocations: 4.604 MB / 4.291 GB, free: 120.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.05193/11.22, allocations: 19.44 MB / 4.31 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/11.23, allocations: 3.273 MB / 4.313 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/11.23, allocations: 1.67 MB / 4.315 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/11.23, allocations: 1.862 MB / 4.316 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004012/11.23, allocations: 1.807 MB / 4.318 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 6.492e-06/11.23, allocations: 3.828 kB / 4.318 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.007688/11.24, allocations: 3.126 MB / 4.321 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/11.24, allocations: 285.2 kB / 4.322 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00669/11.25, allocations: 3.414 MB / 4.325 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/11.25, allocations: 76.7 kB / 4.325 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/11.25, allocations: 1.961 MB / 4.327 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/11.25, allocations: 0.9096 MB / 4.328 GB, free: 110 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/11.25, allocations: 55.56 kB / 4.328 GB, free: 110 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002029/11.25, allocations: 423.8 kB / 4.328 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/11.26, allocations: 1.319 MB / 4.33 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/11.26, allocations: 2.013 MB / 4.331 GB, free: 109 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/11.26, allocations: 1.674 MB / 4.333 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/11.26, allocations: 3.688 kB / 4.333 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007853/11.27, allocations: 3.896 MB / 4.337 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001527/11.27, allocations: 7.413 MB / 4.344 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/11.27, allocations: 18.75 kB / 4.344 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/11.27, allocations: 111.9 kB / 4.344 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/11.28, allocations: 0.7915 MB / 4.345 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/11.28, allocations: 2.158 MB / 4.347 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/11.28, allocations: 0.5004 MB / 4.348 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008821/11.29, allocations: 146.9 kB / 4.348 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/11.29, allocations: 4.312 kB / 4.348 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006486/11.29, allocations: 3.559 MB / 4.351 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/11.29, allocations: 21.14 kB / 4.351 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/11.29, allocations: 118.4 kB / 4.351 GB, free: 98.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/11.3, allocations: 0.7773 MB / 4.352 GB, free: 98.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/11.3, allocations: 1.571 MB / 4.354 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/11.3, allocations: 468.7 kB / 4.354 GB, free: 97.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000746/11.3, allocations: 145.2 kB / 4.354 GB, free: 97.24 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00102/11.31, allocations: 285.7 kB / 4.355 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/11.31, allocations: 381.6 kB / 4.355 GB, free: 96.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008438/11.32, allocations: 3.93 MB / 4.359 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/11.32, allocations: 27.78 kB / 4.359 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/11.32, allocations: 10.19 kB / 4.359 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005898/11.32, allocations: 3.048 MB / 4.362 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/11.34, allocations: 8.528 MB / 4.37 GB, free: 95.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/11.34, allocations: 0 / 4.37 GB, free: 95.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/11.35, allocations: 0.6306 MB / 4.371 GB, free: 95.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/11.35, allocations: 86.91 kB / 4.371 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/11.35, allocations: 93.47 kB / 4.371 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/11.35, allocations: 2.151 MB / 4.373 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/11.35, allocations: 0 / 4.373 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009105/11.36, allocations: 5.428 MB / 4.378 GB, free: 93.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/11.36, allocations: 1.063 MB / 4.379 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/11.36, allocations: 58.5 kB / 4.379 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/11.37, allocations: 322.1 kB / 4.38 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/11.37, allocations: 176.2 kB / 4.38 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/11.37, allocations: 126.1 kB / 4.38 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005343/11.37, allocations: 2.688 MB / 4.383 GB, free: 92.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.51e-07/11.37, allocations: 0 / 4.383 GB, free: 92.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.012/11.39, allocations: 2.417 MB / 4.385 GB, free: 92.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/11.4, allocations: 7.653 MB / 4.392 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01102/11.41, allocations: 5.531 MB / 4.398 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/11.41, allocations: 4.312 kB / 4.398 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/11.41, allocations: 1.731 MB / 4.4 GB, free: 90.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01192/11.43, allocations: 2.03 MB / 4.402 GB, free: 90.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/11.45, allocations: 9.138 MB / 4.41 GB, free: 88.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002574/11.45, allocations: 3.111 MB / 4.413 GB, free: 88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01098/11.46, allocations: 2.991 MB / 4.416 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0032/11.47, allocations: 1.789 MB / 4.418 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/11.47, allocations: 0 / 4.418 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/11.68, allocations: 137.4 MB / 4.552 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/11.68, allocations: 231.6 kB / 4.553 GB, free: 21.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/18.72, allocations: 0 / 4.553 GB, free: 21.48 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)