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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001089/0.001089, allocations: 177.3 kB / 371.6 MB, free: 3.371 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.77/1.77, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001095/0.001095, allocations: 95.56 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.482e-05/7.498e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/6.869, allocations: 2.087 GB / 3.066 GB, free: 153.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/6.869, allocations: 92.5 kB / 3.066 GB, free: 153.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.655/9.524, allocations: 0.5778 GB / 3.644 GB, free: 165.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.466e-06/9.524, allocations: 0 / 3.644 GB, free: 165.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001581/9.524, allocations: 43.06 kB / 3.644 GB, free: 165.3 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.006114/9.531, allocations: 1.826 MB / 3.646 GB, free: 164.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/9.531, allocations: 9.25 kB / 3.646 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/9.531, allocations: 115 kB / 3.646 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/9.535, allocations: 0.5009 MB / 3.647 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/9.54, allocations: 2.002 MB / 3.649 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/9.54, allocations: 88.25 kB / 3.649 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/9.541, allocations: 124.8 kB / 3.649 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/9.543, allocations: 1.291 MB / 3.65 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/9.543, allocations: 8.594 kB / 3.65 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/9.543, allocations: 28.97 kB / 3.65 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/9.543, allocations: 17.94 kB / 3.65 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/9.545, allocations: 1.462 MB / 3.652 GB, free: 163.8 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.01083/9.556, allocations: 5.837 MB / 3.657 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/9.558, allocations: 1.355 MB / 3.659 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/9.559, allocations: 0.6625 MB / 3.659 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/9.56, allocations: 444 kB / 3.66 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/9.56, allocations: 41.2 kB / 3.66 GB, free: 160.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.865e-06/9.56, allocations: 3.719 kB / 3.66 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.003541/9.563, allocations: 1.558 MB / 3.661 GB, free: 160.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/9.563, allocations: 61.47 kB / 3.661 GB, free: 160.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004735/9.568, allocations: 2.628 MB / 3.664 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/9.569, allocations: 65 kB / 3.664 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/9.569, allocations: 0.7176 MB / 3.665 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/9.57, allocations: 196.6 kB / 3.665 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/9.57, allocations: 33.28 kB / 3.665 GB, free: 160.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001331/9.57, allocations: 381.6 kB / 3.665 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/9.572, allocations: 1.6 MB / 3.667 GB, free: 159.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/9.575, allocations: 2.08 MB / 3.669 GB, free: 159.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/9.577, allocations: 1.754 MB / 3.671 GB, free: 159.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/9.577, allocations: 2.312 kB / 3.671 GB, free: 159.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007173/9.585, allocations: 3.955 MB / 3.674 GB, free: 159.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008706/9.586, allocations: 2.07 MB / 3.676 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/9.586, allocations: 10.16 kB / 3.676 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/9.586, allocations: 144 kB / 3.677 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/9.589, allocations: 421.4 kB / 3.677 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/9.59, allocations: 1.209 MB / 3.678 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/9.593, allocations: 375.9 kB / 3.679 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/9.594, allocations: 138.9 kB / 3.679 GB, free: 155.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/9.594, allocations: 3.781 kB / 3.679 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005817/9.6, allocations: 3.74 MB / 3.682 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/9.6, allocations: 4.562 kB / 3.682 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/9.6, allocations: 13.28 kB / 3.682 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/9.601, allocations: 422.5 kB / 3.683 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/9.601, allocations: 15.19 kB / 3.683 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/9.604, allocations: 297.4 kB / 3.683 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/9.605, allocations: 138 kB / 3.683 GB, free: 155.5 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.0004983/9.605, allocations: 219.8 kB / 3.683 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/9.606, allocations: 167.9 kB / 3.684 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/9.61, allocations: 1.782 MB / 3.685 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/9.61, allocations: 6.156 kB / 3.685 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/9.61, allocations: 1.859 kB / 3.685 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/9.61, allocations: 3.422 kB / 3.685 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/9.618, allocations: 3.748 MB / 3.689 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/9.618, allocations: 1.969 kB / 3.689 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009912/9.619, allocations: 202.7 kB / 3.689 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/9.62, allocations: 126.3 kB / 3.689 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/9.62, allocations: 39.55 kB / 3.689 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007426/9.62, allocations: 1.207 MB / 3.69 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/9.62, allocations: 2.75 kB / 3.69 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/9.624, allocations: 1.947 MB / 3.692 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/9.626, allocations: 0.5981 MB / 3.693 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/9.627, allocations: 20.44 kB / 3.693 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/9.628, allocations: 126.9 kB / 3.693 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/9.628, allocations: 53.34 kB / 3.693 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/9.628, allocations: 82.34 kB / 3.693 GB, free: 152.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003731/9.632, allocations: 1.991 MB / 3.695 GB, free: 152.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/9.632, allocations: 1.75 kB / 3.695 GB, free: 152.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004865/9.637, allocations: 1.038 MB / 3.696 GB, free: 152.6 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.006371/9.643, allocations: 4.348 MB / 3.7 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007786/9.651, allocations: 5.093 MB / 3.705 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/9.651, allocations: 3.25 kB / 3.705 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/9.653, allocations: 0.6455 MB / 3.706 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/9.656, allocations: 0.4912 MB / 3.707 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/9.666, allocations: 2.81 MB / 3.709 GB, free: 149.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/9.667, allocations: 1.371 MB / 3.711 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006841/9.674, allocations: 0.9858 MB / 3.712 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/9.675, allocations: 0.6499 MB / 3.712 GB, free: 149.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/9.675, allocations: 0 / 3.712 GB, free: 149.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/9.831, allocations: 74.63 MB / 3.785 GB, free: 143.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/9.832, allocations: 214.2 kB / 3.785 GB, free: 143.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.923/14.75, allocations: 0 / 3.785 GB, free: 143.3 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)