Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.7 MB / 302.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 179.8 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 92.58 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.468e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/5.641, allocations: 2.086 GB / 3.066 GB, free: 152.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/5.641, allocations: 98.27 kB / 3.066 GB, free: 152.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.281/7.922, allocations: 0.5778 GB / 3.644 GB, free: 165.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/7.922, allocations: 0 / 3.644 GB, free: 165.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002223/7.922, allocations: 41.69 kB / 3.644 GB, free: 165.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.005215/7.928, allocations: 1.818 MB / 3.646 GB, free: 165 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/7.928, allocations: 9.562 kB / 3.646 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/7.931, allocations: 0.4989 MB / 3.647 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/7.936, allocations: 2.008 MB / 3.648 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/7.936, allocations: 94.66 kB / 3.649 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/7.936, allocations: 119.1 kB / 3.649 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/7.938, allocations: 1.291 MB / 3.65 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/7.938, allocations: 9.703 kB / 3.65 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/7.938, allocations: 24.81 kB / 3.65 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/7.938, allocations: 17.38 kB / 3.65 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/7.94, allocations: 1.459 MB / 3.651 GB, free: 164.4 MB / 0.948 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.007105/7.947, allocations: 5.841 MB / 3.657 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/7.949, allocations: 1.354 MB / 3.658 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/7.95, allocations: 0.661 MB / 3.659 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/7.95, allocations: 455.4 kB / 3.66 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/7.95, allocations: 38.06 kB / 3.66 GB, free: 161.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.116e-06/7.95, allocations: 0 / 3.66 GB, free: 161.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.002583/7.953, allocations: 1.565 MB / 3.661 GB, free: 161.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/7.953, allocations: 55.41 kB / 3.661 GB, free: 161.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/7.956, allocations: 2.631 MB / 3.664 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/7.956, allocations: 61.33 kB / 3.664 GB, free: 161 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000478/7.957, allocations: 0.7205 MB / 3.664 GB, free: 160.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/7.957, allocations: 196.8 kB / 3.665 GB, free: 160.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/7.957, allocations: 29.69 kB / 3.665 GB, free: 160.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/7.957, allocations: 376.4 kB / 3.665 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/7.959, allocations: 1.604 MB / 3.667 GB, free: 160.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/7.961, allocations: 2.08 MB / 3.669 GB, free: 160 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/7.964, allocations: 1.759 MB / 3.67 GB, free: 159.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/7.964, allocations: 1.656 kB / 3.67 GB, free: 159.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005145/7.969, allocations: 3.957 MB / 3.674 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000396/7.969, allocations: 2.078 MB / 3.676 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/7.969, allocations: 8 kB / 3.676 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/7.97, allocations: 145 kB / 3.676 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/7.972, allocations: 420.5 kB / 3.677 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007174/7.972, allocations: 1.208 MB / 3.678 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/7.975, allocations: 372.9 kB / 3.678 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/7.975, allocations: 145.1 kB / 3.678 GB, free: 156.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/7.975, allocations: 4.812 kB / 3.678 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/7.98, allocations: 3.735 MB / 3.682 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/7.98, allocations: 5 kB / 3.682 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/7.98, allocations: 12.5 kB / 3.682 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/7.982, allocations: 416 kB / 3.683 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/7.982, allocations: 14.83 kB / 3.683 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/7.985, allocations: 301.5 kB / 3.683 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/7.985, allocations: 135.8 kB / 3.683 GB, free: 156.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * Array equations: 3 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004575/7.985, allocations: 223.4 kB / 3.683 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/7.986, allocations: 167.1 kB / 3.683 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/7.989, allocations: 1.787 MB / 3.685 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/7.989, allocations: 6.875 kB / 3.685 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/7.989, allocations: 1.984 kB / 3.685 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/7.989, allocations: 3.094 kB / 3.685 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/7.996, allocations: 3.738 MB / 3.689 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/7.996, allocations: 3.938 kB / 3.689 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/7.997, allocations: 202 kB / 3.689 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/7.998, allocations: 127.3 kB / 3.689 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/7.998, allocations: 36.5 kB / 3.689 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006107/7.998, allocations: 1.211 MB / 3.69 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/7.998, allocations: 2.812 kB / 3.69 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/8.002, allocations: 1.953 MB / 3.692 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/8.003, allocations: 0.602 MB / 3.693 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/8.003, allocations: 17.41 kB / 3.693 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/8.005, allocations: 118.6 kB / 3.693 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/8.005, allocations: 55.69 kB / 3.693 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/8.005, allocations: 83.09 kB / 3.693 GB, free: 153.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003082/8.008, allocations: 1.993 MB / 3.695 GB, free: 153.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/8.008, allocations: 0 / 3.695 GB, free: 153.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003856/8.012, allocations: 1.029 MB / 3.696 GB, free: 153.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002891/8.015, allocations: 1.609 MB / 3.698 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007487/8.023, allocations: 5.097 MB / 3.703 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/8.023, allocations: 0 / 3.703 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/8.024, allocations: 0.6538 MB / 3.703 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/8.027, allocations: 496.7 kB / 3.704 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/8.031, allocations: 2.345 MB / 3.706 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/8.031, allocations: 1.365 MB / 3.707 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003471/8.035, allocations: 0.9872 MB / 3.708 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/8.035, allocations: 114 kB / 3.708 GB, free: 151.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/8.035, allocations: 0 / 3.708 GB, free: 151.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06889/8.104, allocations: 54.97 MB / 3.762 GB, free: 148.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)