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.8146/0.8146, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001244/0.001244, allocations: 171.9 kB / 182.2 MB, free: 9.461 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.46/1.46, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001017/0.001017, allocations: 91.38 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 286.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.091e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4832, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.638, allocations: 1.877 GB / 2.635 GB, free: 141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/4.639, allocations: 91.2 kB / 2.635 GB, free: 140.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.882/6.521, allocations: 0.5814 GB / 3.216 GB, free: 101.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/6.521, allocations: 0 / 3.216 GB, free: 101.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001294/6.521, allocations: 42.83 kB / 3.216 GB, free: 101.8 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.006219/6.527, allocations: 2.083 MB / 3.218 GB, free: 99.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/6.527, allocations: 12.03 kB / 3.218 GB, free: 99.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/6.531, allocations: 401.2 kB / 3.219 GB, free: 99.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004141/6.535, allocations: 2.184 MB / 3.221 GB, free: 97.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/6.535, allocations: 24 kB / 3.221 GB, free: 96.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/6.536, allocations: 72 kB / 3.221 GB, free: 96.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001788/6.538, allocations: 1.4 MB / 3.222 GB, free: 95.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/6.539, allocations: 1.194 MB / 3.224 GB, free: 94.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/6.539, allocations: 4 kB / 3.224 GB, free: 94.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/6.539, allocations: 0 / 3.224 GB, free: 94.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/6.539, allocations: 16 kB / 3.224 GB, free: 94.23 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.01232/6.552, allocations: 6.848 MB / 3.23 GB, free: 87.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/6.554, allocations: 1.413 MB / 3.232 GB, free: 85.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/6.555, allocations: 0.6481 MB / 3.232 GB, free: 85.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/6.555, allocations: 452.5 kB / 3.233 GB, free: 84.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/6.555, allocations: 39.12 kB / 3.233 GB, free: 84.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.707e-06/6.555, allocations: 0 / 3.233 GB, free: 84.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.005556/6.561, allocations: 1.989 MB / 3.235 GB, free: 82.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/6.561, allocations: 59.92 kB / 3.235 GB, free: 82.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/6.564, allocations: 2.409 MB / 3.237 GB, free: 80.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006674/6.565, allocations: 29.7 kB / 3.237 GB, free: 80.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/6.565, allocations: 0.6996 MB / 3.238 GB, free: 79.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/6.566, allocations: 185.2 kB / 3.238 GB, free: 79.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/6.566, allocations: 0 / 3.238 GB, free: 79.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/6.566, allocations: 377.9 kB / 3.238 GB, free: 78.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/6.568, allocations: 2.038 MB / 3.24 GB, free: 76.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/6.571, allocations: 2.5 MB / 3.243 GB, free: 74.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/6.575, allocations: 2.077 MB / 3.245 GB, free: 71.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/6.575, allocations: 4 kB / 3.245 GB, free: 71.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00891/6.584, allocations: 4.607 MB / 3.249 GB, free: 67.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003864/6.585, allocations: 2.062 MB / 3.251 GB, free: 65.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/6.585, allocations: 4 kB / 3.251 GB, free: 65.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/6.585, allocations: 108.7 kB / 3.251 GB, free: 65.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/6.587, allocations: 395.4 kB / 3.252 GB, free: 64.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/6.588, allocations: 1.279 MB / 3.253 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/6.592, allocations: 301.6 kB / 3.253 GB, free: 63.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005537/6.592, allocations: 140 kB / 3.254 GB, free: 62.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/6.592, allocations: 4 kB / 3.254 GB, free: 62.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008072/6.6, allocations: 4.368 MB / 3.258 GB, free: 58.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/6.6, allocations: 8 kB / 3.258 GB, free: 58.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/6.6, allocations: 15.98 kB / 3.258 GB, free: 58.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/6.603, allocations: 400.1 kB / 3.258 GB, free: 58.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/6.603, allocations: 12 kB / 3.258 GB, free: 58.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/6.606, allocations: 222.5 kB / 3.258 GB, free: 57.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/6.606, allocations: 140 kB / 3.259 GB, free: 57.75 MB / 0.698 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.000494/6.606, allocations: 174.6 kB / 3.259 GB, free: 57.57 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00443/6.611, allocations: 1.899 MB / 3.261 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/6.611, allocations: 161.8 kB / 3.261 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/6.616, allocations: 2.163 MB / 3.263 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/6.616, allocations: 8 kB / 3.263 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/6.616, allocations: 0 / 3.263 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/6.616, allocations: 3.984 kB / 3.263 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/6.624, allocations: 4.002 MB / 3.267 GB, free: 49.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/6.624, allocations: 4 kB / 3.267 GB, free: 49.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/6.625, allocations: 188 kB / 3.267 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/6.625, allocations: 120.8 kB / 3.267 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/6.625, allocations: 31.98 kB / 3.267 GB, free: 48.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/6.626, allocations: 1.279 MB / 3.268 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/6.626, allocations: 3.953 kB / 3.268 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/6.631, allocations: 2.325 MB / 3.271 GB, free: 45.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/6.632, allocations: 0.5843 MB / 3.271 GB, free: 44.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007164/6.633, allocations: 7.984 kB / 3.271 GB, free: 44.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/6.635, allocations: 87.78 kB / 3.271 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/6.635, allocations: 60.39 kB / 3.271 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/6.635, allocations: 79.97 kB / 3.271 GB, free: 44.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002392/6.637, allocations: 1.794 MB / 3.273 GB, free: 42.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/6.637, allocations: 0 / 3.273 GB, free: 42.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003684/6.641, allocations: 1.124 MB / 3.274 GB, free: 41.34 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.006874/6.648, allocations: 4.906 MB / 3.279 GB, free: 36.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007486/6.655, allocations: 5.657 MB / 3.285 GB, free: 30.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/6.655, allocations: 0 / 3.285 GB, free: 30.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009235/6.656, allocations: 0.6321 MB / 3.285 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/6.659, allocations: 347 kB / 3.286 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/6.664, allocations: 2.692 MB / 3.288 GB, free: 27.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/6.665, allocations: 1.37 MB / 3.289 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005026/6.67, allocations: 1.172 MB / 3.291 GB, free: 24.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/6.671, allocations: 0.6398 MB / 3.291 GB, free: 23.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/6.671, allocations: 0 / 3.291 GB, free: 23.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4655/7.136, allocations: 62.46 MB / 3.352 GB, free: 140.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/7.137, allocations: 182.2 kB / 3.352 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.048/11.18, allocations: 0 / 3.352 GB, free: 140.2 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)