Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 249.3 MB / 261.9 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.00162, allocations: 185.7 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.001056/0.001056, allocations: 90.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.798e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/6.891, allocations: 2.204 GB / 3.095 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/6.892, allocations: 103.6 kB / 3.096 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.481/9.372, allocations: 0.5601 GB / 3.656 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/9.372, allocations: 0 / 3.656 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001232/9.373, allocations: 38.33 kB / 3.656 GB, free: 187.7 MB / 0.8698 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.00449/9.377, allocations: 1.829 MB / 3.657 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/9.377, allocations: 11.72 kB / 3.657 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/9.377, allocations: 110 kB / 3.658 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/9.381, allocations: 0.4897 MB / 3.658 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/9.385, allocations: 2.01 MB / 3.66 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/9.385, allocations: 88.92 kB / 3.66 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/9.385, allocations: 135.4 kB / 3.66 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/9.387, allocations: 1.288 MB / 3.661 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/9.387, allocations: 0 / 3.661 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/9.387, allocations: 26.78 kB / 3.661 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/9.387, allocations: 22.5 kB / 3.661 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/9.389, allocations: 1.463 MB / 3.663 GB, free: 186.1 MB / 0.8698 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.008291/9.398, allocations: 5.829 MB / 3.669 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/9.4, allocations: 1.348 MB / 3.67 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009007/9.401, allocations: 0.6633 MB / 3.671 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/9.401, allocations: 453 kB / 3.671 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/9.401, allocations: 38.69 kB / 3.671 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 4.749e-06/9.401, allocations: 0 / 3.671 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.00345/9.405, allocations: 1.564 MB / 3.673 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/9.405, allocations: 56.62 kB / 3.673 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/9.409, allocations: 2.629 MB / 3.675 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003251/9.409, allocations: 61.08 kB / 3.675 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/9.409, allocations: 0.7155 MB / 3.676 GB, free: 181 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/9.41, allocations: 196.5 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/9.41, allocations: 38.78 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/9.41, allocations: 384.7 kB / 3.677 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/9.412, allocations: 1.603 MB / 3.678 GB, free: 180 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/9.414, allocations: 2.077 MB / 3.68 GB, free: 179 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/9.416, allocations: 1.764 MB / 3.682 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/9.416, allocations: 0 / 3.682 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005383/9.421, allocations: 3.954 MB / 3.686 GB, free: 177 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/9.422, allocations: 2.072 MB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/9.422, allocations: 10.97 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/9.422, allocations: 142.8 kB / 3.688 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/9.424, allocations: 420.9 kB / 3.688 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/9.425, allocations: 1.208 MB / 3.689 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/9.428, allocations: 367.6 kB / 3.69 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/9.428, allocations: 135.2 kB / 3.69 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/9.428, allocations: 5.391 kB / 3.69 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004403/9.433, allocations: 3.74 MB / 3.694 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/9.433, allocations: 7.281 kB / 3.694 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/9.433, allocations: 10.97 kB / 3.694 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/9.434, allocations: 424.2 kB / 3.694 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/9.434, allocations: 10.03 kB / 3.694 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/9.437, allocations: 306.5 kB / 3.694 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/9.437, allocations: 134.7 kB / 3.694 GB, free: 172 MB / 0.8698 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.0004372/9.438, allocations: 222.7 kB / 3.695 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004279/9.438, allocations: 170.9 kB / 3.695 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/9.441, allocations: 1.788 MB / 3.697 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/9.441, allocations: 3.969 kB / 3.697 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/9.441, allocations: 0 / 3.697 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/9.441, allocations: 11.2 kB / 3.697 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/9.447, allocations: 3.739 MB / 3.7 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/9.447, allocations: 0 / 3.7 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/9.448, allocations: 207.6 kB / 3.7 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/9.449, allocations: 124.3 kB / 3.701 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/9.449, allocations: 39.41 kB / 3.701 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006943/9.449, allocations: 1.213 MB / 3.702 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/9.449, allocations: 7.844 kB / 3.702 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/9.452, allocations: 1.947 MB / 3.704 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/9.453, allocations: 0.5928 MB / 3.704 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/9.454, allocations: 18.62 kB / 3.704 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/9.455, allocations: 116.6 kB / 3.704 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/9.455, allocations: 46 kB / 3.704 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/9.455, allocations: 84.91 kB / 3.705 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002585/9.458, allocations: 1.997 MB / 3.706 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.458, allocations: 0 / 3.706 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003428/9.461, allocations: 1.035 MB / 3.707 GB, free: 166.3 MB / 0.8698 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.004882/9.466, allocations: 4.358 MB / 3.712 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005555/9.472, allocations: 5.09 MB / 3.717 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/9.472, allocations: 3.594 kB / 3.717 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009563/9.473, allocations: 0.6479 MB / 3.717 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/9.476, allocations: 0.4906 MB / 3.718 GB, free: 157 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/9.481, allocations: 2.802 MB / 3.721 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/9.482, allocations: 1.365 MB / 3.722 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003291/9.485, allocations: 0.9873 MB / 3.723 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/9.486, allocations: 0.6452 MB / 3.723 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/9.486, allocations: 3.938 kB / 3.723 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/9.593, allocations: 74.65 MB / 3.796 GB, free: 79.35 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/9.593, allocations: 224.4 kB / 3.797 GB, free: 79.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.921/14.51, allocations: 10.97 kB / 3.797 GB, free: 79.12 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)