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.001476/0.001477, allocations: 180.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.759/0.759, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.377/1.377, allocations: 223.2 MB / 354.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009381, allocations: 107.1 kB / 427.4 MB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 72.3 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.159/5.324, allocations: 1.871 GB / 2.44 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/5.324, allocations: 94.36 kB / 2.44 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.978/7.303, allocations: 0.589 GB / 3.029 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/7.303, allocations: 0 / 3.029 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002424/7.303, allocations: 39.98 kB / 3.029 GB, free: 75.68 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.01043/7.313, allocations: 2.8 MB / 3.032 GB, free: 72.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/7.314, allocations: 12.03 kB / 3.032 GB, free: 72.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006649/7.314, allocations: 102.5 kB / 3.032 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/7.319, allocations: 404.2 kB / 3.033 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007187/7.327, allocations: 2.228 MB / 3.035 GB, free: 70 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/7.327, allocations: 93.31 kB / 3.035 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/7.328, allocations: 120 kB / 3.035 GB, free: 69.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/7.331, allocations: 1.358 MB / 3.036 GB, free: 68.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/7.331, allocations: 11.92 kB / 3.036 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/7.331, allocations: 35.94 kB / 3.036 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/7.331, allocations: 16 kB / 3.036 GB, free: 68.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/7.334, allocations: 1.593 MB / 3.038 GB, free: 66.71 MB / 0.6042 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.01564/7.349, allocations: 7.026 MB / 3.045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/7.352, allocations: 1.454 MB / 3.046 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/7.353, allocations: 450 kB / 3.047 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/7.353, allocations: 47.08 kB / 3.047 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/7.353, allocations: 0 / 3.047 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.006132/7.359, allocations: 2.507 MB / 3.049 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/7.359, allocations: 55.97 kB / 3.049 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/7.364, allocations: 2.687 MB / 3.052 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/7.365, allocations: 69.7 kB / 3.052 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/7.367, allocations: 0.7041 MB / 3.052 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003804/7.368, allocations: 201.1 kB / 3.053 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/7.368, allocations: 32 kB / 3.053 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002191/7.369, allocations: 373.9 kB / 3.053 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/7.373, allocations: 2.143 MB / 3.055 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/7.377, allocations: 2.62 MB / 3.058 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/7.381, allocations: 1.735 MB / 3.059 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/7.381, allocations: 4 kB / 3.059 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01084/7.392, allocations: 4.47 MB / 3.064 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004846/7.393, allocations: 2.07 MB / 3.066 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/7.393, allocations: 12 kB / 3.066 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/7.393, allocations: 152.7 kB / 3.066 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/7.396, allocations: 407.3 kB / 3.066 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009499/7.397, allocations: 1.22 MB / 3.068 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/7.401, allocations: 349.4 kB / 3.068 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/7.402, allocations: 140 kB / 3.068 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/7.402, allocations: 4 kB / 3.068 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008176/7.41, allocations: 4.243 MB / 3.072 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/7.41, allocations: 8.125 kB / 3.072 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/7.41, allocations: 12.05 kB / 3.072 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/7.412, allocations: 399.5 kB / 3.073 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/7.412, allocations: 15.94 kB / 3.073 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/7.416, allocations: 286.2 kB / 3.073 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/7.416, allocations: 143.9 kB / 3.073 GB, free: 29.88 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 () * 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.00137/7.417, allocations: 0.5135 MB / 3.073 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/7.418, allocations: 169.7 kB / 3.074 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/7.422, allocations: 1.913 MB / 3.075 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/7.422, allocations: 8 kB / 3.075 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/7.422, allocations: 0 / 3.075 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/7.422, allocations: 4 kB / 3.076 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/7.43, allocations: 3.831 MB / 3.079 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/7.43, allocations: 11.88 kB / 3.079 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/7.431, allocations: 184 kB / 3.079 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/7.432, allocations: 132.7 kB / 3.08 GB, free: 23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.756e-05/7.432, allocations: 43.97 kB / 3.08 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007166/7.432, allocations: 1.224 MB / 3.081 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/7.432, allocations: 4 kB / 3.081 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/7.436, allocations: 2.079 MB / 3.083 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/7.438, allocations: 0.5998 MB / 3.083 GB, free: 18.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009062/7.439, allocations: 12 kB / 3.083 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/7.441, allocations: 107.8 kB / 3.084 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/7.441, allocations: 48.45 kB / 3.084 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/7.442, allocations: 87.95 kB / 3.084 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0041/7.446, allocations: 2.055 MB / 3.086 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/7.446, allocations: 0 / 3.086 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006939/7.453, allocations: 1.21 MB / 3.087 GB, free: 15.32 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 () * 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.007039/7.46, allocations: 4.479 MB / 3.091 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01101/7.471, allocations: 5.948 MB / 3.097 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/7.471, allocations: 0 / 3.097 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/7.472, allocations: 0.7181 MB / 3.098 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/7.475, allocations: 482.6 kB / 3.098 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/7.486, allocations: 7.755 MB / 3.106 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/7.487, allocations: 1.364 MB / 3.107 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005476/7.493, allocations: 0.8821 MB / 3.108 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/7.496, allocations: 0.7101 MB / 3.109 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of SimCode: time 1.503e-06/7.496, allocations: 0 / 3.109 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5367/8.032, allocations: 80.56 MB / 3.187 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/8.033, allocations: 242.3 kB / 3.188 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/12.46, allocations: 2.625 kB / 3.188 GB, free: 112.3 MB / 0.6198 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)