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.7915/0.7915, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001462/0.001462, allocations: 173.1 kB / 191.5 MB, free: 5.758 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.428/1.428, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.000924/0.000924, allocations: 88.31 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 277.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004085, allocations: 17.5 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.516, allocations: 1.888 GB / 2.661 GB, free: 190.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/4.516, allocations: 104.9 kB / 2.661 GB, free: 190.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.867/6.383, allocations: 0.5946 GB / 3.256 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/6.383, allocations: 0 / 3.256 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000172/6.383, allocations: 30.09 kB / 3.256 GB, free: 140.3 MB / 0.7136 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.007155/6.39, allocations: 2.198 MB / 3.258 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/6.39, allocations: 7.094 kB / 3.258 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003382/6.39, allocations: 115.4 kB / 3.258 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/6.393, allocations: 294.8 kB / 3.259 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/6.396, allocations: 1.365 MB / 3.26 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/6.396, allocations: 75.8 kB / 3.26 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/6.397, allocations: 93.28 kB / 3.26 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/6.399, allocations: 1.069 MB / 3.261 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/6.399, allocations: 3.938 kB / 3.261 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/6.399, allocations: 30.62 kB / 3.261 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/6.399, allocations: 18.25 kB / 3.261 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/6.401, allocations: 1.004 MB / 3.262 GB, free: 137.5 MB / 0.7136 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.008/6.409, allocations: 5.062 MB / 3.267 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/6.411, allocations: 0.8751 MB / 3.268 GB, free: 133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/6.411, allocations: 277.7 kB / 3.268 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/6.411, allocations: 38.97 kB / 3.268 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=50): time 2.865e-06/6.411, allocations: 0 / 3.268 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50): time 0.005128/6.416, allocations: 1.853 MB / 3.27 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/6.416, allocations: 110.4 kB / 3.27 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/6.419, allocations: 1.598 MB / 3.272 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/6.419, allocations: 49.45 kB / 3.272 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/6.42, allocations: 0.5876 MB / 3.272 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/6.42, allocations: 179.4 kB / 3.273 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/6.42, allocations: 12 kB / 3.273 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/6.42, allocations: 345.9 kB / 3.273 GB, free: 129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/6.422, allocations: 0.8861 MB / 3.274 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/6.424, allocations: 1.25 MB / 3.275 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/6.425, allocations: 0.7951 MB / 3.276 GB, free: 126 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/6.425, allocations: 4 kB / 3.276 GB, free: 126 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004571/6.43, allocations: 2.132 MB / 3.278 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004031/6.43, allocations: 1.868 MB / 3.28 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/6.43, allocations: 4 kB / 3.28 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/6.431, allocations: 178.7 kB / 3.28 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/6.432, allocations: 211.7 kB / 3.28 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/6.433, allocations: 1.375 MB / 3.281 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/6.435, allocations: 239.9 kB / 3.282 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/6.435, allocations: 63.98 kB / 3.282 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/6.435, allocations: 4.781 kB / 3.282 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/6.439, allocations: 1.863 MB / 3.283 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/6.439, allocations: 11.61 kB / 3.284 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/6.439, allocations: 8 kB / 3.284 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/6.44, allocations: 247.2 kB / 3.284 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/6.44, allocations: 8 kB / 3.284 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/6.442, allocations: 212.2 kB / 3.284 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/6.442, allocations: 70.55 kB / 3.284 GB, free: 117.4 MB / 0.7136 GB 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 () * Number of clocked 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.0007327/6.443, allocations: 403.1 kB / 3.284 GB, free: 117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/6.443, allocations: 126.3 kB / 3.285 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/6.446, allocations: 1.264 MB / 3.286 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/6.446, allocations: 11.89 kB / 3.286 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/6.446, allocations: 0 / 3.286 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/6.446, allocations: 4 kB / 3.286 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/6.451, allocations: 2.537 MB / 3.288 GB, free: 113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.451, allocations: 0 / 3.288 GB, free: 113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/6.451, allocations: 131 kB / 3.288 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007542/6.452, allocations: 179 kB / 3.289 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/6.452, allocations: 23.98 kB / 3.289 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/6.453, allocations: 1.359 MB / 3.29 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/6.453, allocations: 7.969 kB / 3.29 GB, free: 111.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/6.456, allocations: 1.958 MB / 3.292 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009626/6.457, allocations: 387.1 kB / 3.292 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/6.458, allocations: 8 kB / 3.292 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/6.459, allocations: 111.8 kB / 3.292 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/6.459, allocations: 52.27 kB / 3.292 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/6.46, allocations: 39.98 kB / 3.292 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001951/6.461, allocations: 1.251 MB / 3.294 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/6.461, allocations: 0 / 3.294 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003336/6.465, allocations: 0.8779 MB / 3.294 GB, free: 106.5 MB / 0.7136 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 () * Number of clocked 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.006311/6.471, allocations: 4.493 MB / 3.299 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005133/6.476, allocations: 2.643 MB / 3.301 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/6.476, allocations: 0 / 3.301 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/6.477, allocations: 478.6 kB / 3.302 GB, free: 99.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/6.48, allocations: 447.7 kB / 3.302 GB, free: 98.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/6.486, allocations: 6.617 MB / 3.309 GB, free: 91.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/6.487, allocations: 1.193 MB / 3.31 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002203/6.489, allocations: 431 kB / 3.31 GB, free: 90.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/6.49, allocations: 0.5106 MB / 3.311 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/6.49, allocations: 0 / 3.311 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08825/6.578, allocations: 63.85 MB / 3.373 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/6.578, allocations: 266.8 kB / 3.373 GB, free: 26.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.017/10.6, allocations: 0 / 3.373 GB, free: 26.1 MB / 0.7136 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)