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.479/1.479, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001177/0.001177, allocations: 180.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001013/0.001013, allocations: 94.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.322, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.144/6.466, allocations: 2.204 GB / 3.104 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/6.466, allocations: 101.4 kB / 3.104 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.381/8.848, allocations: 0.5606 GB / 3.664 GB, free: 146 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/8.848, allocations: 0 / 3.664 GB, free: 146 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001319/8.848, allocations: 36 kB / 3.665 GB, free: 145.9 MB / 0.8855 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.007565/8.856, allocations: 2.534 MB / 3.667 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/8.856, allocations: 12.03 kB / 3.667 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/8.856, allocations: 110.5 kB / 3.667 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/8.86, allocations: 0.4893 MB / 3.668 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/8.864, allocations: 2.048 MB / 3.67 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/8.864, allocations: 97.25 kB / 3.67 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/8.864, allocations: 124 kB / 3.67 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/8.867, allocations: 1.397 MB / 3.671 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/8.867, allocations: 0 / 3.671 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/8.867, allocations: 28 kB / 3.671 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/8.867, allocations: 19.94 kB / 3.671 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/8.87, allocations: 1.675 MB / 3.673 GB, free: 137.2 MB / 0.8855 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.01061/8.881, allocations: 5.829 MB / 3.679 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/8.884, allocations: 1.524 MB / 3.68 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/8.884, allocations: 454 kB / 3.68 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/8.884, allocations: 39.08 kB / 3.681 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.765e-06/8.884, allocations: 7.938 kB / 3.681 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.005736/8.89, allocations: 2.616 MB / 3.683 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/8.89, allocations: 59.97 kB / 3.683 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/8.895, allocations: 2.679 MB / 3.686 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/8.896, allocations: 61.7 kB / 3.686 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/8.896, allocations: 0.7236 MB / 3.687 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/8.897, allocations: 193.2 kB / 3.687 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/8.897, allocations: 36 kB / 3.687 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001429/8.897, allocations: 381.9 kB / 3.687 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/8.899, allocations: 1.71 MB / 3.689 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/8.902, allocations: 2.195 MB / 3.691 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/8.904, allocations: 1.865 MB / 3.693 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/8.904, allocations: 0 / 3.693 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006904/8.911, allocations: 4.175 MB / 3.697 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005122/8.912, allocations: 2.089 MB / 3.699 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/8.912, allocations: 4 kB / 3.699 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/8.913, allocations: 156.8 kB / 3.699 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/8.914, allocations: 411.4 kB / 3.699 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/8.915, allocations: 1.236 MB / 3.701 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/8.919, allocations: 365.3 kB / 3.701 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/8.919, allocations: 140 kB / 3.701 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/8.919, allocations: 4 kB / 3.701 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0052/8.924, allocations: 3.964 MB / 3.705 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/8.924, allocations: 4 kB / 3.705 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/8.924, allocations: 15.94 kB / 3.705 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/8.926, allocations: 419.6 kB / 3.705 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/8.926, allocations: 15.94 kB / 3.705 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/8.929, allocations: 298.2 kB / 3.706 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/8.929, allocations: 132 kB / 3.706 GB, free: 102.6 MB / 0.8855 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 () * Number of clocked 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.001213/8.93, allocations: 0.5296 MB / 3.706 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/8.931, allocations: 165.7 kB / 3.706 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/8.935, allocations: 1.983 MB / 3.708 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/8.935, allocations: 4 kB / 3.708 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/8.935, allocations: 4 kB / 3.708 GB, free: 99.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/8.935, allocations: 3.984 kB / 3.708 GB, free: 99.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008651/8.944, allocations: 3.936 MB / 3.712 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/8.944, allocations: 4 kB / 3.712 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009533/8.945, allocations: 211.9 kB / 3.712 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/8.945, allocations: 132.7 kB / 3.713 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-05/8.946, allocations: 35.98 kB / 3.713 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007551/8.946, allocations: 1.228 MB / 3.714 GB, free: 94.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/8.946, allocations: 4 kB / 3.714 GB, free: 94.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/8.951, allocations: 2.141 MB / 3.716 GB, free: 91.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/8.953, allocations: 0.5997 MB / 3.717 GB, free: 91.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/8.954, allocations: 16 kB / 3.717 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/8.957, allocations: 119.8 kB / 3.717 GB, free: 91.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/8.957, allocations: 56.42 kB / 3.717 GB, free: 91.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/8.957, allocations: 79.97 kB / 3.717 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004169/8.961, allocations: 2.047 MB / 3.719 GB, free: 89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/8.961, allocations: 0 / 3.719 GB, free: 89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005413/8.967, allocations: 1.034 MB / 3.72 GB, free: 87.97 MB / 0.8855 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 () * Number of clocked 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.007589/8.974, allocations: 4.553 MB / 3.724 GB, free: 83.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007128/8.981, allocations: 5.347 MB / 3.729 GB, free: 77.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/8.981, allocations: 4.125 kB / 3.729 GB, free: 77.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/8.983, allocations: 0.7453 MB / 3.73 GB, free: 77.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/8.987, allocations: 499.7 kB / 3.731 GB, free: 76.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/8.997, allocations: 7.771 MB / 3.738 GB, free: 68.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/8.998, allocations: 1.368 MB / 3.74 GB, free: 67.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002732/9.001, allocations: 0.6123 MB / 3.74 GB, free: 66.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/9.002, allocations: 0.7101 MB / 3.741 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/9.002, allocations: 0 / 3.741 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6704/9.673, allocations: 68.68 MB / 3.808 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/9.673, allocations: 256.3 kB / 3.808 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/14, allocations: 0 / 3.808 GB, free: 192.3 MB / 0.8855 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)