Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5289/0.5289, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 104.1 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.669e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.441, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.442/4.883, allocations: 1.871 GB / 2.431 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/4.883, allocations: 91.56 kB / 2.432 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.219/7.102, allocations: 0.5885 GB / 3.02 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/7.102, allocations: 0 / 3.02 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001211/7.102, allocations: 39.27 kB / 3.02 GB, free: 106.2 MB / 0.6042 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.006432/7.109, allocations: 2.091 MB / 3.022 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.109, allocations: 17.98 kB / 3.022 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/7.109, allocations: 108 kB / 3.022 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/7.112, allocations: 392.5 kB / 3.023 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/7.116, allocations: 2.193 MB / 3.025 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.727e-05/7.116, allocations: 92.12 kB / 3.025 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003975/7.117, allocations: 119.1 kB / 3.025 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/7.119, allocations: 1.288 MB / 3.026 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/7.119, allocations: 9.531 kB / 3.026 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/7.119, allocations: 30.66 kB / 3.026 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/7.119, allocations: 15.28 kB / 3.026 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/7.121, allocations: 1.454 MB / 3.028 GB, free: 104.7 MB / 0.6042 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.01252/7.133, allocations: 7.034 MB / 3.035 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/7.135, allocations: 1.345 MB / 3.036 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/7.136, allocations: 0.6562 MB / 3.037 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/7.137, allocations: 452.8 kB / 3.037 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/7.137, allocations: 43.53 kB / 3.037 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.916e-06/7.137, allocations: 0 / 3.037 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.00381/7.141, allocations: 1.554 MB / 3.039 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/7.141, allocations: 64.72 kB / 3.039 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/7.145, allocations: 2.637 MB / 3.041 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0008017/7.146, allocations: 63.58 kB / 3.041 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/7.146, allocations: 0.7013 MB / 3.042 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/7.147, allocations: 193.3 kB / 3.042 GB, free: 101 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/7.147, allocations: 36.53 kB / 3.042 GB, free: 101 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001137/7.147, allocations: 383.2 kB / 3.042 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/7.15, allocations: 2.059 MB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/7.153, allocations: 2.541 MB / 3.047 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/7.155, allocations: 1.668 MB / 3.049 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/7.155, allocations: 3.5 kB / 3.049 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007153/7.162, allocations: 4.291 MB / 3.053 GB, free: 100 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004395/7.163, allocations: 2.072 MB / 3.055 GB, free: 97.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/7.163, allocations: 9.469 kB / 3.055 GB, free: 97.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/7.163, allocations: 139.1 kB / 3.055 GB, free: 97.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/7.166, allocations: 404.2 kB / 3.055 GB, free: 97.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/7.166, allocations: 1.211 MB / 3.057 GB, free: 96.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/7.17, allocations: 354 kB / 3.057 GB, free: 96.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005011/7.17, allocations: 144.2 kB / 3.057 GB, free: 96.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/7.17, allocations: 4.781 kB / 3.057 GB, free: 96.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006103/7.176, allocations: 4.088 MB / 3.061 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/7.176, allocations: 7.438 kB / 3.061 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/7.177, allocations: 10.59 kB / 3.061 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/7.179, allocations: 396.8 kB / 3.061 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/7.179, allocations: 17.19 kB / 3.061 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/7.182, allocations: 286.8 kB / 3.062 GB, free: 96.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/7.182, allocations: 135.5 kB / 3.062 GB, free: 96.53 MB / 0.6042 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.0005182/7.183, allocations: 212.1 kB / 3.062 GB, free: 96.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006133/7.183, allocations: 170.1 kB / 3.062 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/7.186, allocations: 1.789 MB / 3.064 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/7.186, allocations: 7.188 kB / 3.064 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/7.186, allocations: 0 / 3.064 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/7.186, allocations: 3.844 kB / 3.064 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/7.192, allocations: 3.708 MB / 3.068 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/7.192, allocations: 0 / 3.068 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/7.193, allocations: 189.5 kB / 3.068 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/7.194, allocations: 119.5 kB / 3.068 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/7.194, allocations: 38.06 kB / 3.068 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005863/7.194, allocations: 1.214 MB / 3.069 GB, free: 94.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/7.194, allocations: 3.625 kB / 3.069 GB, free: 94.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/7.197, allocations: 1.95 MB / 3.071 GB, free: 94.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/7.198, allocations: 0.597 MB / 3.072 GB, free: 93.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/7.199, allocations: 13.56 kB / 3.072 GB, free: 93.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/7.2, allocations: 108.6 kB / 3.072 GB, free: 93.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/7.2, allocations: 52.88 kB / 3.072 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/7.2, allocations: 84.19 kB / 3.072 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00245/7.203, allocations: 2.004 MB / 3.074 GB, free: 93.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/7.203, allocations: 0 / 3.074 GB, free: 93.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003837/7.206, allocations: 1.213 MB / 3.075 GB, free: 93.64 MB / 0.6042 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.004479/7.211, allocations: 4.345 MB / 3.079 GB, free: 91.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008053/7.219, allocations: 5.79 MB / 3.085 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/7.219, allocations: 0 / 3.085 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/7.22, allocations: 0.6527 MB / 3.085 GB, free: 91.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/7.223, allocations: 476.2 kB / 3.086 GB, free: 91.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/7.229, allocations: 2.801 MB / 3.089 GB, free: 90.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/7.23, allocations: 1.371 MB / 3.09 GB, free: 90.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005749/7.236, allocations: 1.242 MB / 3.091 GB, free: 90.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/7.237, allocations: 0.649 MB / 3.092 GB, free: 90.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/7.237, allocations: 0 / 3.092 GB, free: 90.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/7.357, allocations: 86.45 MB / 3.176 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/7.358, allocations: 218.4 kB / 3.176 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.571/11.93, allocations: 0 / 3.176 GB, free: 30.93 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)