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: 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.7654/0.7654, allocations: 143.4 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.001052/0.001052, allocations: 173.1 kB / 191.5 MB, free: 5.762 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.355/1.355, allocations: 223.2 MB / 447.7 MB, free: 4.762 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.0009653/0.000966, allocations: 88.39 kB / 0.5188 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 269.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005991, allocations: 16.86 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2009, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.225/4.426, allocations: 1.888 GB / 2.661 GB, free: 190.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/4.426, allocations: 102.1 kB / 2.661 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.769/6.195, allocations: 0.5946 GB / 3.256 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/6.195, allocations: 0 / 3.256 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.369e-05/6.195, allocations: 30.19 kB / 3.256 GB, free: 140.1 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.004961/6.2, allocations: 2.187 MB / 3.258 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/6.2, allocations: 7.906 kB / 3.258 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/6.202, allocations: 286 kB / 3.258 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/6.204, allocations: 1.365 MB / 3.26 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/6.204, allocations: 74.2 kB / 3.26 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/6.205, allocations: 106.1 kB / 3.26 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/6.206, allocations: 1.061 MB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/6.206, allocations: 5.688 kB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/6.206, allocations: 30.22 kB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/6.206, allocations: 18.25 kB / 3.261 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/6.208, allocations: 1.003 MB / 3.262 GB, free: 137.3 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.00601/6.214, allocations: 5.067 MB / 3.267 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/6.216, allocations: 0.8635 MB / 3.268 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/6.216, allocations: 279.6 kB / 3.268 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/6.216, allocations: 38.81 kB / 3.268 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/6.216, allocations: 0 / 3.268 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50): time 0.004558/6.221, allocations: 1.847 MB / 3.27 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/6.221, allocations: 114.2 kB / 3.27 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/6.222, allocations: 1.594 MB / 3.272 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/6.223, allocations: 49.7 kB / 3.272 GB, free: 129.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/6.223, allocations: 0.592 MB / 3.272 GB, free: 129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/6.223, allocations: 180.1 kB / 3.272 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/6.223, allocations: 20 kB / 3.272 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/6.223, allocations: 345.9 kB / 3.273 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/6.225, allocations: 0.8755 MB / 3.274 GB, free: 127.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/6.226, allocations: 1.263 MB / 3.275 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/6.228, allocations: 0.7854 MB / 3.276 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/6.228, allocations: 4 kB / 3.276 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003727/6.231, allocations: 2.129 MB / 3.278 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002759/6.232, allocations: 1.881 MB / 3.279 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/6.232, allocations: 4 kB / 3.279 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006968/6.232, allocations: 168.6 kB / 3.28 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/6.234, allocations: 219.1 kB / 3.28 GB, free: 121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009343/6.234, allocations: 1.372 MB / 3.281 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/6.236, allocations: 235.8 kB / 3.281 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/6.236, allocations: 71.97 kB / 3.281 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/6.236, allocations: 0.625 kB / 3.281 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003072/6.24, allocations: 1.874 MB / 3.283 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/6.24, allocations: 4 kB / 3.283 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/6.24, allocations: 15.69 kB / 3.283 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/6.241, allocations: 235.7 kB / 3.284 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/6.241, allocations: 11.94 kB / 3.284 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/6.242, allocations: 216 kB / 3.284 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/6.243, allocations: 63.98 kB / 3.284 GB, free: 116.9 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.0006258/6.243, allocations: 407.6 kB / 3.284 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/6.243, allocations: 126.3 kB / 3.284 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/6.246, allocations: 1.253 MB / 3.286 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/6.246, allocations: 11.95 kB / 3.286 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/6.246, allocations: 0 / 3.286 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/6.246, allocations: 3.984 kB / 3.286 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/6.25, allocations: 2.538 MB / 3.288 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/6.25, allocations: 0 / 3.288 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/6.25, allocations: 135.4 kB / 3.288 GB, free: 112.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006791/6.251, allocations: 184.3 kB / 3.288 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/6.251, allocations: 23.98 kB / 3.288 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/6.252, allocations: 1.36 MB / 3.29 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/6.252, allocations: 4.031 kB / 3.29 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/6.255, allocations: 1.955 MB / 3.292 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/6.255, allocations: 391.1 kB / 3.292 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/6.256, allocations: 14.56 kB / 3.292 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/6.257, allocations: 107 kB / 3.292 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/6.257, allocations: 48.27 kB / 3.292 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/6.257, allocations: 39.98 kB / 3.292 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001499/6.258, allocations: 1.242 MB / 3.293 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/6.258, allocations: 4 kB / 3.293 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002358/6.261, allocations: 0.892 MB / 3.294 GB, free: 106 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.002037/6.263, allocations: 1.762 MB / 3.296 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004299/6.267, allocations: 2.642 MB / 3.299 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/6.267, allocations: 0 / 3.299 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008282/6.268, allocations: 478.7 kB / 3.299 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/6.27, allocations: 443.5 kB / 3.299 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/6.273, allocations: 2.504 MB / 3.302 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/6.273, allocations: 1.19 MB / 3.303 GB, free: 97.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001576/6.275, allocations: 436.1 kB / 3.304 GB, free: 96.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/6.275, allocations: 103.4 kB / 3.304 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/6.275, allocations: 4 kB / 3.304 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.05353/6.329, allocations: 47.48 MB / 3.35 GB, free: 49.68 MB / 0.7136 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)