Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 182.8 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.5783 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008605/0.0008602, allocations: 92.09 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.000353, allocations: 10.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.7135/0.9575, allocations: 167.7 MB / 1.065 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.9746, allocations: 12.64 MB / 1.077 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.9768, allocations: 36.75 kB / 1.077 GB, free: 4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.9782, allocations: 302.8 kB / 1.077 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.9818, allocations: 1.011 MB / 1.078 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.987, allocations: 1.369 MB / 1.08 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004397/0.9914, allocations: 2.621 MB / 1.082 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.993, allocations: 0.8149 MB / 1.083 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.9953, allocations: 1.021 MB / 1.084 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.9966, allocations: 0.8464 MB / 1.085 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.9968, allocations: 59.03 kB / 1.085 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.9994, allocations: 1.12 MB / 1.086 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.9998, allocations: 437.8 kB / 1.086 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005606/1, allocations: 258.8 kB / 1.087 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/1.003, allocations: 1.673 MB / 1.088 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.003, allocations: 5.719 kB / 1.088 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/1.003, allocations: 0 / 1.088 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.113e-05/1.003, allocations: 0 / 1.088 GB, free: 19.59 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.00446/1.007, allocations: 1.845 MB / 1.09 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.007, allocations: 9.406 kB / 1.09 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/1.008, allocations: 281.9 kB / 1.09 GB, free: 18.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/1.01, allocations: 1.272 MB / 1.092 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/1.011, allocations: 67.28 kB / 1.092 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.011, allocations: 86.09 kB / 1.092 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.012, allocations: 1.023 MB / 1.093 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.012, allocations: 3.812 kB / 1.093 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/1.012, allocations: 33.12 kB / 1.093 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.012, allocations: 17.81 kB / 1.093 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.014, allocations: 0.9392 MB / 1.094 GB, free: 17.96 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.005091/1.019, allocations: 4.351 MB / 1.098 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.021, allocations: 0.7876 MB / 1.099 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/1.022, allocations: 450.8 kB / 1.099 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/1.022, allocations: 277 kB / 1.099 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.022, allocations: 41.44 kB / 1.099 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=50): time 3.086e-06/1.022, allocations: 0 / 1.099 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50): time 0.00501/1.027, allocations: 1.661 MB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.027, allocations: 58.31 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.03, allocations: 1.821 MB / 1.103 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/1.03, allocations: 45.02 kB / 1.103 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/1.03, allocations: 0.5838 MB / 1.104 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.031, allocations: 175.4 kB / 1.104 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/1.031, allocations: 17.91 kB / 1.104 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.031, allocations: 346 kB / 1.104 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.032, allocations: 0.8237 MB / 1.105 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/1.033, allocations: 1.177 MB / 1.106 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.034, allocations: 0.9096 MB / 1.107 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.034, allocations: 3.094 kB / 1.107 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003327/1.038, allocations: 2.126 MB / 1.109 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.038, allocations: 232.4 kB / 1.109 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.038, allocations: 6.094 kB / 1.109 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/1.039, allocations: 150.3 kB / 1.109 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/1.04, allocations: 185.6 kB / 1.109 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/1.041, allocations: 1.316 MB / 1.111 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.043, allocations: 237.5 kB / 1.111 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/1.043, allocations: 35.62 kB / 1.111 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/1.043, allocations: 2.781 kB / 1.111 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002672/1.045, allocations: 1.904 MB / 1.113 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.045, allocations: 5.812 kB / 1.113 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.046, allocations: 8.719 kB / 1.113 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/1.046, allocations: 191.5 kB / 1.113 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.046, allocations: 12.28 kB / 1.113 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.048, allocations: 217.8 kB / 1.113 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/1.048, allocations: 33.42 kB / 1.113 GB, free: 11.94 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 (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0006925/1.049, allocations: 392.1 kB / 1.114 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/1.049, allocations: 134.1 kB / 1.114 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/1.052, allocations: 1.065 MB / 1.115 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.052, allocations: 5.906 kB / 1.115 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.052, allocations: 0.5625 kB / 1.115 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.052, allocations: 3.188 kB / 1.115 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/1.057, allocations: 2.315 MB / 1.117 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.057, allocations: 2.062 kB / 1.117 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/1.058, allocations: 130.5 kB / 1.117 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008059/1.059, allocations: 141.6 kB / 1.117 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/1.059, allocations: 19.98 kB / 1.117 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.06, allocations: 1.312 MB / 1.119 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.06, allocations: 8.172 kB / 1.119 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/1.063, allocations: 1.679 MB / 1.12 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/1.064, allocations: 317 kB / 1.121 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/1.065, allocations: 18.62 kB / 1.121 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.066, allocations: 97.55 kB / 1.121 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.066, allocations: 48 kB / 1.121 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/1.066, allocations: 20.84 kB / 1.121 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002352/1.069, allocations: 1.298 MB / 1.122 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.069, allocations: 0 / 1.122 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002774/1.072, allocations: 0.6174 MB / 1.123 GB, free: 9.34 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.001204/1.073, allocations: 339.1 kB / 1.123 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004415/1.077, allocations: 2.56 MB / 1.126 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.077, allocations: 5.812 kB / 1.126 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.078, allocations: 470 kB / 1.126 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.082, allocations: 467.9 kB / 1.126 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/1.087, allocations: 2.556 MB / 1.129 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/1.088, allocations: 1.164 MB / 1.13 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/1.088, allocations: 103.6 kB / 1.13 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.088, allocations: 0 / 1.13 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.04221/1.131, allocations: 29.28 MB / 1.159 GB, free: 32 kB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)