Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7949/0.7949, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 184.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009412, allocations: 97.53 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 275.7 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.508e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4249, allocations: 82.75 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.149/4.574, allocations: 1.878 GB / 2.642 GB, free: 128.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/4.574, allocations: 87.25 kB / 2.643 GB, free: 128.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.827/6.401, allocations: 0.5886 GB / 3.231 GB, free: 75.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/6.401, allocations: 4 kB / 3.231 GB, free: 75.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002156/6.401, allocations: 32 kB / 3.231 GB, free: 75.91 MB / 0.698 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.008371/6.409, allocations: 2.094 MB / 3.233 GB, free: 73.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/6.409, allocations: 8.031 kB / 3.233 GB, free: 73.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003037/6.41, allocations: 110.5 kB / 3.233 GB, free: 73.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004004/6.414, allocations: 397.1 kB / 3.234 GB, free: 73.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/6.419, allocations: 2.189 MB / 3.236 GB, free: 70.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/6.419, allocations: 89.31 kB / 3.236 GB, free: 70.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006709/6.42, allocations: 128 kB / 3.236 GB, free: 70.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/6.421, allocations: 1.284 MB / 3.237 GB, free: 69.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/6.421, allocations: 3.938 kB / 3.237 GB, free: 69.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/6.421, allocations: 28 kB / 3.237 GB, free: 69.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/6.421, allocations: 16 kB / 3.237 GB, free: 69.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/6.423, allocations: 1.476 MB / 3.239 GB, free: 67.89 MB / 0.698 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.01212/6.435, allocations: 7.03 MB / 3.246 GB, free: 60.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/6.437, allocations: 1.342 MB / 3.247 GB, free: 59.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/6.438, allocations: 0.6621 MB / 3.248 GB, free: 58.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/6.439, allocations: 450 kB / 3.248 GB, free: 58.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/6.439, allocations: 43.12 kB / 3.248 GB, free: 58.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/6.439, allocations: 0 / 3.248 GB, free: 58.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003272/6.442, allocations: 1.56 MB / 3.25 GB, free: 56.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/6.442, allocations: 55.97 kB / 3.25 GB, free: 56.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/6.446, allocations: 2.645 MB / 3.252 GB, free: 53.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007802/6.447, allocations: 61.7 kB / 3.252 GB, free: 53.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007773/6.448, allocations: 0.7001 MB / 3.253 GB, free: 52.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/6.448, allocations: 205.2 kB / 3.253 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/6.448, allocations: 32 kB / 3.253 GB, free: 52.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/6.448, allocations: 373.9 kB / 3.254 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/6.451, allocations: 2.061 MB / 3.256 GB, free: 50.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/6.454, allocations: 2.539 MB / 3.258 GB, free: 47.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/6.457, allocations: 1.663 MB / 3.26 GB, free: 45.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/6.457, allocations: 4 kB / 3.26 GB, free: 45.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006757/6.463, allocations: 4.295 MB / 3.264 GB, free: 41.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00032/6.464, allocations: 2.077 MB / 3.266 GB, free: 39.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/6.464, allocations: 8 kB / 3.266 GB, free: 39.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/6.464, allocations: 136.7 kB / 3.266 GB, free: 39.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/6.467, allocations: 403.5 kB / 3.266 GB, free: 38.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006941/6.468, allocations: 1.213 MB / 3.268 GB, free: 37.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/6.471, allocations: 349.3 kB / 3.268 GB, free: 37.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006493/6.471, allocations: 140 kB / 3.268 GB, free: 37.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/6.471, allocations: 7.938 kB / 3.268 GB, free: 37.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005804/6.477, allocations: 4.091 MB / 3.272 GB, free: 32.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/6.477, allocations: 8 kB / 3.272 GB, free: 32.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/6.477, allocations: 16.14 kB / 3.272 GB, free: 32.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/6.48, allocations: 404.1 kB / 3.272 GB, free: 32.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/6.48, allocations: 12 kB / 3.272 GB, free: 32.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/6.482, allocations: 282.1 kB / 3.273 GB, free: 32.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/6.483, allocations: 139.9 kB / 3.273 GB, free: 32.11 MB / 0.698 GB 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 (196): * Single equations (assignments): 191 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005093/6.484, allocations: 217.8 kB / 3.273 GB, free: 31.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/6.484, allocations: 173.6 kB / 3.273 GB, free: 31.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/6.487, allocations: 1.774 MB / 3.275 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/6.487, allocations: 7.953 kB / 3.275 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/6.487, allocations: 0 / 3.275 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/6.487, allocations: 7.984 kB / 3.275 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/6.493, allocations: 3.705 MB / 3.279 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/6.493, allocations: 0 / 3.279 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/6.494, allocations: 180.1 kB / 3.279 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/6.494, allocations: 120.8 kB / 3.279 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/6.494, allocations: 43.86 kB / 3.279 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006394/6.495, allocations: 1.213 MB / 3.28 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/6.495, allocations: 0 / 3.28 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/6.498, allocations: 1.95 MB / 3.282 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/6.499, allocations: 0.6036 MB / 3.283 GB, free: 21.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/6.5, allocations: 12 kB / 3.283 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/6.501, allocations: 99.88 kB / 3.283 GB, free: 21.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/6.501, allocations: 64.31 kB / 3.283 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/6.501, allocations: 79.97 kB / 3.283 GB, free: 21.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002669/6.504, allocations: 1.998 MB / 3.285 GB, free: 19.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/6.504, allocations: 8 kB / 3.285 GB, free: 19.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004509/6.509, allocations: 1.206 MB / 3.286 GB, free: 18.32 MB / 0.698 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.005007/6.514, allocations: 4.352 MB / 3.29 GB, free: 13.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008389/6.522, allocations: 5.78 MB / 3.296 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/6.522, allocations: 0 / 3.296 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/6.523, allocations: 0.6531 MB / 3.297 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/6.526, allocations: 494 kB / 3.297 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/6.532, allocations: 2.804 MB / 3.3 GB, free: 4.043 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/6.533, allocations: 1.371 MB / 3.301 GB, free: 2.645 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005675/6.538, allocations: 1.249 MB / 3.302 GB, free: 1.398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/6.54, allocations: 0.6476 MB / 3.303 GB, free: 0.75 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/6.54, allocations: 0 / 3.303 GB, free: 0.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4811/7.021, allocations: 86.49 MB / 3.387 GB, free: 131.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/7.021, allocations: 228.4 kB / 3.388 GB, free: 130.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/11.51, allocations: 0 / 3.388 GB, free: 130.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)