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.8095/0.8095, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.5 kB / 191.5 MB, free: 5.77 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.458/1.458, allocations: 223.2 MB / 447.7 MB, free: 6.547 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.0009798/0.0009798, allocations: 97.91 kB / 0.5187 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 274.5 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 12 kB / 0.6929 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.133/4.5, allocations: 1.878 GB / 2.652 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/4.5, allocations: 95.94 kB / 2.652 GB, free: 146 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/6.489, allocations: 0.5891 GB / 3.241 GB, free: 82.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/6.489, allocations: 0 / 3.241 GB, free: 82.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001126/6.489, allocations: 39.98 kB / 3.241 GB, free: 82.04 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.007653/6.497, allocations: 2.805 MB / 3.244 GB, free: 79.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/6.497, allocations: 8.031 kB / 3.244 GB, free: 79.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/6.497, allocations: 110.5 kB / 3.244 GB, free: 79.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/6.501, allocations: 405.1 kB / 3.244 GB, free: 78.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/6.505, allocations: 2.228 MB / 3.247 GB, free: 76.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/6.505, allocations: 89.31 kB / 3.247 GB, free: 76.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/6.506, allocations: 128 kB / 3.247 GB, free: 76.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/6.508, allocations: 1.358 MB / 3.248 GB, free: 74.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/6.508, allocations: 3.938 kB / 3.248 GB, free: 74.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/6.508, allocations: 28 kB / 3.248 GB, free: 74.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/6.508, allocations: 20 kB / 3.248 GB, free: 74.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/6.511, allocations: 1.601 MB / 3.25 GB, free: 73.05 MB / 0.698 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.01371/6.524, allocations: 7.034 MB / 3.257 GB, free: 65.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/6.527, allocations: 1.451 MB / 3.258 GB, free: 64.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/6.528, allocations: 450 kB / 3.258 GB, free: 63.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/6.528, allocations: 39.12 kB / 3.258 GB, free: 63.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/6.528, allocations: 0 / 3.258 GB, free: 63.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.005883/6.534, allocations: 2.499 MB / 3.261 GB, free: 61.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/6.534, allocations: 59.97 kB / 3.261 GB, free: 61.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/6.539, allocations: 2.699 MB / 3.264 GB, free: 58.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007272/6.539, allocations: 61.7 kB / 3.264 GB, free: 58.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/6.541, allocations: 0.7157 MB / 3.264 GB, free: 57.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/6.541, allocations: 193.1 kB / 3.265 GB, free: 57.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/6.541, allocations: 28 kB / 3.265 GB, free: 57.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001546/6.542, allocations: 385.9 kB / 3.265 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/6.545, allocations: 2.143 MB / 3.267 GB, free: 54.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/6.549, allocations: 2.62 MB / 3.27 GB, free: 52.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/6.552, allocations: 1.744 MB / 3.271 GB, free: 50.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/6.552, allocations: 4 kB / 3.271 GB, free: 50.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00912/6.562, allocations: 4.454 MB / 3.276 GB, free: 45.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/6.562, allocations: 2.07 MB / 3.278 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/6.562, allocations: 4 kB / 3.278 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/6.563, allocations: 152.7 kB / 3.278 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/6.565, allocations: 403.4 kB / 3.278 GB, free: 43.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008851/6.566, allocations: 1.228 MB / 3.279 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/6.57, allocations: 341.4 kB / 3.28 GB, free: 41.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/6.57, allocations: 140 kB / 3.28 GB, free: 41.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/6.57, allocations: 5.406 kB / 3.28 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007898/6.578, allocations: 4.255 MB / 3.284 GB, free: 37.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/6.578, allocations: 8 kB / 3.284 GB, free: 37.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/6.578, allocations: 19.95 kB / 3.284 GB, free: 37.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/6.581, allocations: 396 kB / 3.284 GB, free: 36.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/6.581, allocations: 19.92 kB / 3.284 GB, free: 36.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/6.584, allocations: 278.2 kB / 3.285 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005025/6.585, allocations: 140 kB / 3.285 GB, free: 36.23 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 () * Number of clocked 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.00148/6.586, allocations: 0.5096 MB / 3.285 GB, free: 35.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009768/6.587, allocations: 177.6 kB / 3.286 GB, free: 35.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/6.591, allocations: 1.91 MB / 3.287 GB, free: 33.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/6.591, allocations: 11.95 kB / 3.287 GB, free: 33.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/6.591, allocations: 4 kB / 3.287 GB, free: 33.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/6.591, allocations: 3.984 kB / 3.287 GB, free: 33.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/6.599, allocations: 3.818 MB / 3.291 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/6.599, allocations: 8.031 kB / 3.291 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/6.6, allocations: 183.7 kB / 3.291 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/6.6, allocations: 136.8 kB / 3.291 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/6.6, allocations: 35.94 kB / 3.291 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007573/6.601, allocations: 1.224 MB / 3.293 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.601, allocations: 0 / 3.293 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/6.605, allocations: 2.083 MB / 3.295 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/6.606, allocations: 0.6036 MB / 3.295 GB, free: 25.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007766/6.607, allocations: 16 kB / 3.295 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/6.609, allocations: 95.88 kB / 3.295 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/6.609, allocations: 60.44 kB / 3.295 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/6.609, allocations: 79.97 kB / 3.296 GB, free: 24.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00362/6.613, allocations: 2.051 MB / 3.298 GB, free: 22.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/6.613, allocations: 4 kB / 3.298 GB, free: 22.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005354/6.618, allocations: 1.21 MB / 3.299 GB, free: 21.68 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 () * Number of clocked 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.006229/6.625, allocations: 4.484 MB / 3.303 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01133/6.636, allocations: 5.947 MB / 3.309 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/6.636, allocations: 0 / 3.309 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/6.637, allocations: 0.7143 MB / 3.31 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/6.64, allocations: 490.3 kB / 3.31 GB, free: 9.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008448/6.649, allocations: 7.759 MB / 3.318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/6.65, allocations: 1.363 MB / 3.319 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.3684/7.018, allocations: 0.876 MB / 3.32 GB, free: 134.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/7.021, allocations: 0.7071 MB / 3.321 GB, free: 134.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/7.021, allocations: 3.484 kB / 3.321 GB, free: 134.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/7.143, allocations: 80.62 MB / 3.399 GB, free: 132.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/7.143, allocations: 257 kB / 3.4 GB, free: 132 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.24/11.38, allocations: 4 kB / 3.4 GB, free: 132 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)