Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.8279/0.8279, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001034/0.001034, allocations: 184.8 kB / 182.2 MB, free: 9.438 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.406/1.406, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008481/0.0008479, allocations: 89.69 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001653/0.001653, allocations: 279.6 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.858e-05, allocations: 4 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 82.77 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.477/4.892, allocations: 1.887 GB / 2.644 GB, free: 172.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/4.893, allocations: 91.94 kB / 2.644 GB, free: 172.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.979/6.872, allocations: 0.5868 GB / 3.231 GB, free: 113.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/6.872, allocations: 0 / 3.231 GB, free: 113.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001091/6.872, allocations: 35.28 kB / 3.231 GB, free: 113.2 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004174/6.876, allocations: 1.723 MB / 3.233 GB, free: 111.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/6.876, allocations: 12.03 kB / 3.233 GB, free: 111.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/6.879, allocations: 281.9 kB / 3.233 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/6.882, allocations: 1.348 MB / 3.235 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/6.882, allocations: 20 kB / 3.235 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/6.882, allocations: 64 kB / 3.235 GB, free: 109.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/6.883, allocations: 0.7769 MB / 3.235 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/6.884, allocations: 0.8699 MB / 3.236 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/6.884, allocations: 4 kB / 3.236 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/6.885, allocations: 0 / 3.236 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/6.885, allocations: 23.94 kB / 3.236 GB, free: 108 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.008128/6.893, allocations: 4.882 MB / 3.241 GB, free: 102.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/6.894, allocations: 0.7816 MB / 3.242 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/6.895, allocations: 374.7 kB / 3.242 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/6.895, allocations: 282.4 kB / 3.242 GB, free: 101.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/6.895, allocations: 42.95 kB / 3.242 GB, free: 101.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/6.895, allocations: 0 / 3.242 GB, free: 101.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.003066/6.898, allocations: 1.027 MB / 3.243 GB, free: 100.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/6.898, allocations: 115.2 kB / 3.244 GB, free: 100.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/6.9, allocations: 1.375 MB / 3.245 GB, free: 98.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/6.901, allocations: 29.7 kB / 3.245 GB, free: 98.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/6.901, allocations: 0.5835 MB / 3.245 GB, free: 98.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/6.901, allocations: 165.5 kB / 3.246 GB, free: 98.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/6.901, allocations: 0 / 3.246 GB, free: 98.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/6.901, allocations: 345.9 kB / 3.246 GB, free: 97.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009216/6.902, allocations: 0.7834 MB / 3.247 GB, free: 96.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/6.904, allocations: 1.139 MB / 3.248 GB, free: 95.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/6.905, allocations: 0.838 MB / 3.249 GB, free: 94.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/6.905, allocations: 3.938 kB / 3.249 GB, free: 94.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004063/6.909, allocations: 2.003 MB / 3.251 GB, free: 92.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004929/6.91, allocations: 1.862 MB / 3.252 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/6.91, allocations: 8 kB / 3.252 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/6.911, allocations: 124.8 kB / 3.253 GB, free: 90.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/6.912, allocations: 219.7 kB / 3.253 GB, free: 90.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009618/6.913, allocations: 1.353 MB / 3.254 GB, free: 89.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/6.915, allocations: 202.9 kB / 3.254 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/6.915, allocations: 63.98 kB / 3.254 GB, free: 88.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/6.915, allocations: 7.938 kB / 3.254 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002967/6.918, allocations: 1.736 MB / 3.256 GB, free: 87.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/6.918, allocations: 4 kB / 3.256 GB, free: 87.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/6.918, allocations: 16.03 kB / 3.256 GB, free: 87.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/6.919, allocations: 247.6 kB / 3.256 GB, free: 86.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/6.919, allocations: 8 kB / 3.256 GB, free: 86.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/6.921, allocations: 187.1 kB / 3.256 GB, free: 86.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/6.921, allocations: 59.98 kB / 3.257 GB, free: 86.52 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/6.922, allocations: 141.4 kB / 3.257 GB, free: 86.38 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002596/6.924, allocations: 0.9832 MB / 3.258 GB, free: 85.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/6.925, allocations: 122.4 kB / 3.258 GB, free: 85.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/6.928, allocations: 1.158 MB / 3.259 GB, free: 84.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/6.928, allocations: 4.188 kB / 3.259 GB, free: 84.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/6.928, allocations: 0 / 3.259 GB, free: 84.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/6.928, allocations: 7.969 kB / 3.259 GB, free: 84.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/6.933, allocations: 2.391 MB / 3.261 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/6.933, allocations: 3.938 kB / 3.261 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/6.933, allocations: 132.1 kB / 3.261 GB, free: 81.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/6.934, allocations: 132.8 kB / 3.261 GB, free: 81.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/6.934, allocations: 11.98 kB / 3.262 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007836/6.935, allocations: 1.345 MB / 3.263 GB, free: 79.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/6.935, allocations: 4.031 kB / 3.263 GB, free: 79.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/6.938, allocations: 1.784 MB / 3.265 GB, free: 78.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/6.939, allocations: 379.1 kB / 3.265 GB, free: 77.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/6.939, allocations: 8.062 kB / 3.265 GB, free: 77.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/6.941, allocations: 91.88 kB / 3.265 GB, free: 77.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/6.941, allocations: 52.27 kB / 3.265 GB, free: 77.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/6.941, allocations: 39.98 kB / 3.265 GB, free: 77.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00132/6.942, allocations: 1.049 MB / 3.266 GB, free: 76.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.942, allocations: 0 / 3.266 GB, free: 76.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003136/6.945, allocations: 0.8189 MB / 3.267 GB, free: 75.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005826/6.951, allocations: 4.518 MB / 3.271 GB, free: 71.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003628/6.955, allocations: 2.37 MB / 3.274 GB, free: 68.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/6.955, allocations: 4 kB / 3.274 GB, free: 68.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/6.955, allocations: 371.1 kB / 3.274 GB, free: 68.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/6.958, allocations: 326.7 kB / 3.274 GB, free: 68.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/6.963, allocations: 1.908 MB / 3.276 GB, free: 66.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/6.963, allocations: 1.189 MB / 3.277 GB, free: 64.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002751/6.966, allocations: 0.5852 MB / 3.278 GB, free: 64.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/6.967, allocations: 475.3 kB / 3.278 GB, free: 63.86 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/6.967, allocations: 0 / 3.278 GB, free: 63.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/7.083, allocations: 47.5 MB / 3.325 GB, free: 16.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/7.083, allocations: 202.8 kB / 3.325 GB, free: 16.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/10.69, allocations: 1.719 kB / 3.325 GB, free: 16.31 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)