Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 249.5 MB / 257 MB, free: 6.887 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.001194/0.001194, allocations: 184.1 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008756/0.0008756, allocations: 88.58 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.641e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.547/5.771, allocations: 2.204 GB / 3.089 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.771, allocations: 92.72 kB / 3.089 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.028/7.799, allocations: 0.5529 GB / 3.642 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/7.799, allocations: 1.031 kB / 3.642 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001736/7.8, allocations: 37.8 kB / 3.642 GB, free: 179.1 MB / 0.8698 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.005554/7.805, allocations: 1.828 MB / 3.644 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/7.805, allocations: 9.719 kB / 3.644 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/7.809, allocations: 0.4995 MB / 3.644 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/7.813, allocations: 2.005 MB / 3.646 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/7.813, allocations: 21.09 kB / 3.646 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/7.814, allocations: 74.81 kB / 3.647 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/7.816, allocations: 1.4 MB / 3.648 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/7.818, allocations: 1.204 MB / 3.649 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/7.818, allocations: 7.328 kB / 3.649 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/7.818, allocations: 2.625 kB / 3.649 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/7.818, allocations: 16.75 kB / 3.649 GB, free: 177.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.009754/7.828, allocations: 5.628 MB / 3.655 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/7.831, allocations: 1.492 MB / 3.656 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/7.832, allocations: 0.6514 MB / 3.657 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/7.832, allocations: 460.5 kB / 3.657 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/7.832, allocations: 39.09 kB / 3.657 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.765e-06/7.832, allocations: 0 / 3.657 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.005564/7.838, allocations: 1.995 MB / 3.659 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/7.838, allocations: 60.16 kB / 3.659 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/7.841, allocations: 2.393 MB / 3.661 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/7.842, allocations: 32.61 kB / 3.662 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/7.842, allocations: 0.6911 MB / 3.662 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/7.842, allocations: 183.9 kB / 3.662 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/7.842, allocations: 0 / 3.662 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/7.843, allocations: 377.9 kB / 3.663 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/7.844, allocations: 1.579 MB / 3.664 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/7.846, allocations: 2.04 MB / 3.666 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/7.85, allocations: 2.171 MB / 3.668 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/7.85, allocations: 3.688 kB / 3.668 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007703/7.858, allocations: 4.26 MB / 3.673 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000404/7.858, allocations: 2.057 MB / 3.675 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/7.859, allocations: 7.641 kB / 3.675 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/7.859, allocations: 114.6 kB / 3.675 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/7.861, allocations: 410.5 kB / 3.675 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/7.862, allocations: 1.279 MB / 3.676 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/7.864, allocations: 316.1 kB / 3.677 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/7.865, allocations: 139.5 kB / 3.677 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/7.865, allocations: 5.125 kB / 3.677 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006256/7.871, allocations: 4.02 MB / 3.681 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/7.871, allocations: 6.828 kB / 3.681 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/7.871, allocations: 16.78 kB / 3.681 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/7.873, allocations: 419.5 kB / 3.681 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/7.873, allocations: 13.22 kB / 3.681 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/7.875, allocations: 244.6 kB / 3.681 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/7.875, allocations: 139.2 kB / 3.681 GB, free: 169.7 MB / 0.8698 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.0004361/7.876, allocations: 186.5 kB / 3.682 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004789/7.881, allocations: 1.893 MB / 3.684 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/7.881, allocations: 160.2 kB / 3.684 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/7.886, allocations: 2.15 MB / 3.686 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/7.886, allocations: 7.594 kB / 3.686 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/7.886, allocations: 0 / 3.686 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/7.886, allocations: 11.41 kB / 3.686 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/7.894, allocations: 4.045 MB / 3.69 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/7.894, allocations: 7.484 kB / 3.69 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/7.895, allocations: 200.9 kB / 3.69 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003139/7.895, allocations: 110.7 kB / 3.69 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/7.895, allocations: 31.28 kB / 3.69 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/7.896, allocations: 1.282 MB / 3.691 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/7.896, allocations: 6.844 kB / 3.691 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/7.901, allocations: 2.337 MB / 3.694 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/7.902, allocations: 0.5789 MB / 3.694 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/7.902, allocations: 3.562 kB / 3.694 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/7.904, allocations: 110.8 kB / 3.694 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/7.904, allocations: 55.34 kB / 3.694 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/7.904, allocations: 84.55 kB / 3.694 GB, free: 167 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002228/7.906, allocations: 1.788 MB / 3.696 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/7.906, allocations: 0 / 3.696 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003266/7.91, allocations: 0.9551 MB / 3.697 GB, free: 166.8 MB / 0.8698 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.006721/7.916, allocations: 4.899 MB / 3.702 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005314/7.922, allocations: 4.984 MB / 3.707 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/7.922, allocations: 3.188 kB / 3.707 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009345/7.923, allocations: 0.6298 MB / 3.707 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/7.925, allocations: 354 kB / 3.708 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/7.931, allocations: 2.681 MB / 3.71 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/7.931, allocations: 1.372 MB / 3.712 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003263/7.935, allocations: 0.9137 MB / 3.713 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/7.935, allocations: 0.639 MB / 3.713 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/7.935, allocations: 0 / 3.713 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09264/8.028, allocations: 53.37 MB / 3.765 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/8.028, allocations: 174.1 kB / 3.765 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/11.81, allocations: 0 / 3.765 GB, free: 161.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)