Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 173.1 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009693, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 267.3 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006252, allocations: 10.97 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 82.81 MB / 0.7738 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.174/4.41, allocations: 1.833 GB / 2.607 GB, free: 244.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/4.411, allocations: 92.19 kB / 2.607 GB, free: 244.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.137/9.547, allocations: 1.431 GB / 4.038 GB, free: 66.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.575e-06/9.547, allocations: 6.172 kB / 4.038 GB, free: 66.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002331/9.548, allocations: 44.75 kB / 4.038 GB, free: 66.67 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00654/9.554, allocations: 1.893 MB / 4.04 GB, free: 65.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/9.554, allocations: 14 kB / 4.04 GB, free: 65.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005442/9.555, allocations: 127.8 kB / 4.04 GB, free: 65.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/9.556, allocations: 204.3 kB / 4.04 GB, free: 65.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/9.56, allocations: 0.9619 MB / 4.041 GB, free: 65.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/9.56, allocations: 129.4 kB / 4.041 GB, free: 65.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/9.56, allocations: 90.38 kB / 4.041 GB, free: 65.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/9.562, allocations: 0.9228 MB / 4.042 GB, free: 65.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/9.562, allocations: 2.719 kB / 4.042 GB, free: 65.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/9.562, allocations: 41.61 kB / 4.042 GB, free: 65.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/9.562, allocations: 21.38 kB / 4.042 GB, free: 65.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/9.563, allocations: 0.5014 MB / 4.043 GB, free: 65.04 MB / 0.7292 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.006361/9.57, allocations: 4.878 MB / 4.048 GB, free: 61.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/9.57, allocations: 420.2 kB / 4.048 GB, free: 61.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/9.571, allocations: 108.1 kB / 4.048 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/9.571, allocations: 57.83 kB / 4.048 GB, free: 61.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/9.571, allocations: 0 / 4.048 GB, free: 61.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002326/9.573, allocations: 0.836 MB / 4.049 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/9.573, allocations: 398 kB / 4.049 GB, free: 60.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/9.575, allocations: 1.081 MB / 4.05 GB, free: 60.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/9.575, allocations: 40.42 kB / 4.05 GB, free: 60.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/9.576, allocations: 0.5506 MB / 4.051 GB, free: 60.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/9.576, allocations: 118.7 kB / 4.051 GB, free: 60.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/9.576, allocations: 6.344 kB / 4.051 GB, free: 60.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/9.576, allocations: 319.3 kB / 4.051 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/9.576, allocations: 99.23 kB / 4.051 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/9.577, allocations: 364.8 kB / 4.052 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/9.577, allocations: 148.9 kB / 4.052 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/9.577, allocations: 0.8438 kB / 4.052 GB, free: 59.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001206/9.578, allocations: 0.5288 MB / 4.052 GB, free: 59.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004974/9.579, allocations: 1.355 MB / 4.054 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/9.579, allocations: 7.766 kB / 4.054 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/9.579, allocations: 73.59 kB / 4.054 GB, free: 57.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/9.579, allocations: 88.42 kB / 4.054 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/9.581, allocations: 2.303 MB / 4.056 GB, free: 55.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/9.582, allocations: 123 kB / 4.056 GB, free: 55.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/9.582, allocations: 35.16 kB / 4.056 GB, free: 55.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/9.582, allocations: 3.875 kB / 4.056 GB, free: 55.65 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007772/9.583, allocations: 360.2 kB / 4.057 GB, free: 55.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/9.583, allocations: 3.875 kB / 4.057 GB, free: 55.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/9.583, allocations: 68.98 kB / 4.057 GB, free: 55.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/9.583, allocations: 62.33 kB / 4.057 GB, free: 55.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/9.586, allocations: 2.931 MB / 4.06 GB, free: 52.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/9.587, allocations: 127 kB / 4.06 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/9.587, allocations: 21.59 kB / 4.06 GB, free: 52.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007285/9.588, allocations: 356.5 kB / 4.06 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/9.588, allocations: 130.8 kB / 4.06 GB, free: 52.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/9.589, allocations: 424.1 kB / 4.061 GB, free: 52.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/9.589, allocations: 7.531 kB / 4.061 GB, free: 52.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/9.589, allocations: 3.219 kB / 4.061 GB, free: 52.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/9.589, allocations: 5.828 kB / 4.061 GB, free: 52.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/9.594, allocations: 2.544 MB / 4.063 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/9.594, allocations: 3.594 kB / 4.063 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/9.594, allocations: 80.12 kB / 4.063 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/9.594, allocations: 77.56 kB / 4.063 GB, free: 51.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/9.594, allocations: 10.09 kB / 4.063 GB, free: 51.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/9.595, allocations: 2.305 MB / 4.066 GB, free: 48.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/9.595, allocations: 6.812 kB / 4.066 GB, free: 48.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/9.597, allocations: 1.079 MB / 4.067 GB, free: 47.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/9.597, allocations: 256 kB / 4.067 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/9.598, allocations: 15.59 kB / 4.067 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/9.599, allocations: 77.16 kB / 4.067 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/9.599, allocations: 32.73 kB / 4.067 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/9.599, allocations: 23.45 kB / 4.067 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00149/9.601, allocations: 0.8494 MB / 4.068 GB, free: 47.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.943e-06/9.601, allocations: 0 / 4.068 GB, free: 47.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004218/9.605, allocations: 0.7973 MB / 4.069 GB, free: 47.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008483/9.613, allocations: 6.438 MB / 4.075 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002045/9.615, allocations: 0.7151 MB / 4.076 GB, free: 43.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/9.615, allocations: 3.344 kB / 4.076 GB, free: 43.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/9.616, allocations: 198.7 kB / 4.076 GB, free: 43.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/9.62, allocations: 0.7413 MB / 4.077 GB, free: 43.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/9.628, allocations: 4.931 MB / 4.081 GB, free: 55.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/9.629, allocations: 1.156 MB / 4.082 GB, free: 54.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001278/9.63, allocations: 275.9 kB / 4.083 GB, free: 54.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/9.631, allocations: 445.6 kB / 4.083 GB, free: 54.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.833e-06/9.631, allocations: 0 / 4.083 GB, free: 54.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/9.779, allocations: 81.72 MB / 4.163 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/9.78, allocations: 285.7 kB / 4.163 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/15.02, allocations: 4.062 kB / 4.163 GB, free: 40.25 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)