Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 188.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 96 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.582e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8402, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.805, allocations: 2.085 GB / 3.048 GB, free: 33.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/6.805, allocations: 97.55 kB / 3.048 GB, free: 33.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.335/10.14, allocations: 0.5707 GB / 3.619 GB, free: 208.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/10.14, allocations: 0 / 3.619 GB, free: 208.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002252/10.14, allocations: 43.53 kB / 3.619 GB, free: 208.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.006501/10.15, allocations: 1.836 MB / 3.621 GB, free: 206.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/10.15, allocations: 11.56 kB / 3.621 GB, free: 206.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/10.15, allocations: 0.4949 MB / 3.621 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006769/10.16, allocations: 2.007 MB / 3.623 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/10.16, allocations: 22.66 kB / 3.623 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004845/10.16, allocations: 77.28 kB / 3.623 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003793/10.16, allocations: 1.4 MB / 3.625 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/10.17, allocations: 1.2 MB / 3.626 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/10.17, allocations: 3.938 kB / 3.626 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/10.17, allocations: 7.844 kB / 3.626 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/10.17, allocations: 14.47 kB / 3.626 GB, free: 204.1 MB / 0.948 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.01431/10.18, allocations: 5.611 MB / 3.631 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005302/10.19, allocations: 1.488 MB / 3.633 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/10.19, allocations: 0.656 MB / 3.633 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/10.19, allocations: 460.4 kB / 3.634 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/10.19, allocations: 39.12 kB / 3.634 GB, free: 195.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.146e-06/10.19, allocations: 0 / 3.634 GB, free: 195.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.01419/10.2, allocations: 1.992 MB / 3.636 GB, free: 193.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/10.2, allocations: 63.97 kB / 3.636 GB, free: 193.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009171/10.21, allocations: 2.396 MB / 3.638 GB, free: 191.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006325/10.21, allocations: 25.7 kB / 3.638 GB, free: 191.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/10.22, allocations: 0.6955 MB / 3.639 GB, free: 190.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/10.22, allocations: 189.2 kB / 3.639 GB, free: 190.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/10.22, allocations: 4 kB / 3.639 GB, free: 190.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002921/10.22, allocations: 373.9 kB / 3.64 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/10.22, allocations: 1.581 MB / 3.641 GB, free: 188.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/10.23, allocations: 2.036 MB / 3.643 GB, free: 186 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/10.24, allocations: 2.165 MB / 3.645 GB, free: 183.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/10.24, allocations: 0 / 3.645 GB, free: 183.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.02028/10.26, allocations: 4.272 MB / 3.649 GB, free: 179.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006019/10.26, allocations: 2.057 MB / 3.651 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/10.26, allocations: 4 kB / 3.651 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/10.26, allocations: 112.7 kB / 3.651 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/10.27, allocations: 415.4 kB / 3.652 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/10.27, allocations: 1.275 MB / 3.653 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006753/10.28, allocations: 317.6 kB / 3.653 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009061/10.28, allocations: 140 kB / 3.654 GB, free: 175.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/10.28, allocations: 4 kB / 3.654 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01843/10.3, allocations: 4.014 MB / 3.657 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/10.3, allocations: 8 kB / 3.657 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/10.3, allocations: 20.03 kB / 3.657 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/10.3, allocations: 419.4 kB / 3.658 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/10.3, allocations: 15.94 kB / 3.658 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006136/10.31, allocations: 250.4 kB / 3.658 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009595/10.31, allocations: 140 kB / 3.658 GB, free: 170.2 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008681/10.31, allocations: 177.1 kB / 3.658 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01271/10.32, allocations: 1.895 MB / 3.66 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/10.32, allocations: 161.7 kB / 3.66 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/10.34, allocations: 2.148 MB / 3.663 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/10.34, allocations: 8 kB / 3.663 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/10.34, allocations: 0 / 3.663 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/10.34, allocations: 3.984 kB / 3.663 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/10.36, allocations: 4.056 MB / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/10.36, allocations: 0 / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/10.36, allocations: 196.1 kB / 3.667 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008953/10.36, allocations: 120.5 kB / 3.667 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003722/10.36, allocations: 35.97 kB / 3.667 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/10.37, allocations: 1.283 MB / 3.668 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/10.37, allocations: 7.922 kB / 3.668 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/10.38, allocations: 2.329 MB / 3.67 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003445/10.38, allocations: 0.5804 MB / 3.671 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/10.39, allocations: 7.953 kB / 3.671 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/10.39, allocations: 115.7 kB / 3.671 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/10.39, allocations: 48.48 kB / 3.671 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/10.39, allocations: 83.97 kB / 3.671 GB, free: 156.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006589/10.4, allocations: 1.782 MB / 3.673 GB, free: 154.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.633e-06/10.4, allocations: 3.938 kB / 3.673 GB, free: 154.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008418/10.41, allocations: 0.9558 MB / 3.674 GB, free: 153.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01678/10.42, allocations: 4.899 MB / 3.679 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01225/10.44, allocations: 4.979 MB / 3.684 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/10.44, allocations: 0 / 3.684 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/10.44, allocations: 0.6353 MB / 3.684 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/10.44, allocations: 362.3 kB / 3.684 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/10.46, allocations: 2.685 MB / 3.687 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/10.46, allocations: 1.368 MB / 3.688 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009225/10.47, allocations: 0.9108 MB / 3.689 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/10.47, allocations: 0.6359 MB / 3.69 GB, free: 137.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.414e-06/10.47, allocations: 0 / 3.69 GB, free: 137.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/10.63, allocations: 53.37 MB / 3.742 GB, free: 84.39 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/10.63, allocations: 166.2 kB / 3.742 GB, free: 84.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.132/15.76, allocations: 7.938 kB / 3.742 GB, free: 84.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)