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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.749/0.749, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 171.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007777/0.0007777, allocations: 94.11 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001664/0.001664, allocations: 270.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004742, allocations: 20 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3867, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.278/4.665, allocations: 2.065 GB / 2.805 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.665, allocations: 100.5 kB / 2.805 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.763/6.428, allocations: 0.5838 GB / 3.389 GB, free: 123 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/6.428, allocations: 0 / 3.389 GB, free: 123 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001856/6.429, allocations: 29.69 kB / 3.389 GB, free: 123 MB / 0.6823 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.006283/6.435, allocations: 2.079 MB / 3.391 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/6.435, allocations: 6.844 kB / 3.391 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/6.437, allocations: 322.3 kB / 3.391 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/6.44, allocations: 1.35 MB / 3.392 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/6.44, allocations: 78.08 kB / 3.392 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/6.441, allocations: 98.44 kB / 3.392 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/6.443, allocations: 1.08 MB / 3.394 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/6.443, allocations: 11.41 kB / 3.394 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/6.443, allocations: 28.75 kB / 3.394 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/6.443, allocations: 18.22 kB / 3.394 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/6.445, allocations: 1.037 MB / 3.395 GB, free: 121.4 MB / 0.6823 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.006736/6.452, allocations: 4.651 MB / 3.399 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/6.454, allocations: 0.8874 MB / 3.4 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/6.454, allocations: 479.5 kB / 3.4 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/6.455, allocations: 287 kB / 3.401 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/6.455, allocations: 38.38 kB / 3.401 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/6.455, allocations: 0 / 3.401 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.005288/6.46, allocations: 1.892 MB / 3.403 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/6.46, allocations: 109.7 kB / 3.403 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/6.463, allocations: 1.755 MB / 3.404 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/6.463, allocations: 44.89 kB / 3.404 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/6.464, allocations: 0.5889 MB / 3.405 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/6.464, allocations: 175.1 kB / 3.405 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/6.464, allocations: 19.28 kB / 3.405 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/6.464, allocations: 339.7 kB / 3.406 GB, free: 117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/6.465, allocations: 0.7456 MB / 3.406 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/6.467, allocations: 1.112 MB / 3.407 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/6.469, allocations: 1.564 MB / 3.409 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/6.469, allocations: 0 / 3.409 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003491/6.473, allocations: 2.029 MB / 3.411 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/6.473, allocations: 240.1 kB / 3.411 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/6.473, allocations: 6.438 kB / 3.411 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/6.474, allocations: 178.3 kB / 3.411 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/6.475, allocations: 235.6 kB / 3.412 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/6.476, allocations: 1.374 MB / 3.413 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/6.477, allocations: 244.4 kB / 3.413 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/6.478, allocations: 69.83 kB / 3.413 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/6.478, allocations: 3.969 kB / 3.413 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/6.48, allocations: 1.778 MB / 3.415 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/6.48, allocations: 3.875 kB / 3.415 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/6.48, allocations: 9.844 kB / 3.415 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/6.481, allocations: 242.2 kB / 3.415 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/6.481, allocations: 17.81 kB / 3.415 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/6.484, allocations: 212.8 kB / 3.415 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/6.484, allocations: 67.44 kB / 3.415 GB, free: 112.4 MB / 0.6823 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.0009315/6.485, allocations: 405.2 kB / 3.416 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/6.485, allocations: 130.2 kB / 3.416 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/6.49, allocations: 1.283 MB / 3.417 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/6.49, allocations: 6.125 kB / 3.417 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/6.49, allocations: 0 / 3.417 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/6.49, allocations: 3.844 kB / 3.417 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008087/6.498, allocations: 2.574 MB / 3.42 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/6.498, allocations: 4 kB / 3.42 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/6.499, allocations: 141.9 kB / 3.42 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/6.5, allocations: 172.7 kB / 3.42 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/6.5, allocations: 22.38 kB / 3.42 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/6.501, allocations: 1.367 MB / 3.421 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/6.502, allocations: 7.344 kB / 3.421 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006003/6.508, allocations: 1.886 MB / 3.423 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/6.509, allocations: 382.6 kB / 3.424 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006037/6.51, allocations: 14.84 kB / 3.424 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/6.512, allocations: 112.9 kB / 3.424 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/6.512, allocations: 54.78 kB / 3.424 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/6.512, allocations: 43.34 kB / 3.424 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003382/6.516, allocations: 1.234 MB / 3.425 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/6.516, allocations: 2.969 kB / 3.425 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004178/6.52, allocations: 0.8317 MB / 3.426 GB, free: 107.6 MB / 0.6823 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.003809/6.524, allocations: 1.781 MB / 3.428 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006748/6.53, allocations: 2.456 MB / 3.43 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/6.53, allocations: 4 kB / 3.43 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/6.532, allocations: 480.5 kB / 3.43 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/6.537, allocations: 446.6 kB / 3.431 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/6.543, allocations: 2.504 MB / 3.433 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009694/6.544, allocations: 1.157 MB / 3.434 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002765/6.547, allocations: 350.7 kB / 3.435 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/6.548, allocations: 118.7 kB / 3.435 GB, free: 99.89 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/6.548, allocations: 0 / 3.435 GB, free: 99.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.06663/6.614, allocations: 43.91 MB / 3.478 GB, free: 60.05 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)