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.6959/0.6959, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009749, allocations: 181 kB / 187.3 MB, free: 11.88 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.224/1.224, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008052/0.0008053, allocations: 98.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 268.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.805e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.554/3.883, allocations: 1.833 GB / 2.597 GB, free: 219.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/3.884, allocations: 83.95 kB / 2.597 GB, free: 219.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.313/8.197, allocations: 1.43 GB / 4.027 GB, free: 77.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.213e-06/8.197, allocations: 0 / 4.027 GB, free: 77.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.023e-05/8.197, allocations: 44.39 kB / 4.027 GB, free: 77.44 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.002725/8.2, allocations: 1.681 MB / 4.029 GB, free: 76.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/8.2, allocations: 7 kB / 4.029 GB, free: 76.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/8.2, allocations: 127.5 kB / 4.029 GB, free: 76.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/8.2, allocations: 205.3 kB / 4.029 GB, free: 76.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/8.202, allocations: 0.9449 MB / 4.03 GB, free: 76.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/8.202, allocations: 132.9 kB / 4.03 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/8.202, allocations: 88.59 kB / 4.031 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/8.203, allocations: 0.8907 MB / 4.031 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/8.203, allocations: 2.719 kB / 4.031 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/8.203, allocations: 33.69 kB / 4.031 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/8.203, allocations: 26.69 kB / 4.031 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/8.204, allocations: 464.2 kB / 4.032 GB, free: 75.79 MB / 0.7292 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.003221/8.207, allocations: 4.885 MB / 4.037 GB, free: 72.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/8.207, allocations: 404.2 kB / 4.037 GB, free: 72.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/8.208, allocations: 254.7 kB / 4.037 GB, free: 71.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/8.208, allocations: 103.2 kB / 4.037 GB, free: 71.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/8.208, allocations: 58.88 kB / 4.037 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/8.208, allocations: 0 / 4.037 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001012/8.209, allocations: 487.6 kB / 4.038 GB, free: 71.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/8.209, allocations: 405.5 kB / 4.038 GB, free: 71.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/8.21, allocations: 1.06 MB / 4.039 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/8.21, allocations: 38.7 kB / 4.039 GB, free: 71.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/8.21, allocations: 0.5434 MB / 4.04 GB, free: 70.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/8.21, allocations: 118.2 kB / 4.04 GB, free: 70.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/8.21, allocations: 2.625 kB / 4.04 GB, free: 70.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/8.21, allocations: 321.6 kB / 4.04 GB, free: 70.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/8.211, allocations: 75.64 kB / 4.04 GB, free: 70.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/8.211, allocations: 364 kB / 4.041 GB, free: 70.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/8.211, allocations: 133.9 kB / 4.041 GB, free: 70.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/8.211, allocations: 3.562 kB / 4.041 GB, free: 70.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000607/8.212, allocations: 499 kB / 4.041 GB, free: 70.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/8.212, allocations: 1.349 MB / 4.043 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/8.212, allocations: 7.688 kB / 4.043 GB, free: 68.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/8.212, allocations: 79.56 kB / 4.043 GB, free: 68.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/8.213, allocations: 82.31 kB / 4.043 GB, free: 68.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000812/8.213, allocations: 2.301 MB / 4.045 GB, free: 66.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/8.214, allocations: 123.6 kB / 4.045 GB, free: 66.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/8.214, allocations: 29.75 kB / 4.045 GB, free: 66.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/8.214, allocations: 7.672 kB / 4.045 GB, free: 66.33 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004738/8.215, allocations: 318.8 kB / 4.046 GB, free: 66.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/8.215, allocations: 3.656 kB / 4.046 GB, free: 66.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/8.215, allocations: 79.45 kB / 4.046 GB, free: 66.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/8.215, allocations: 60.73 kB / 4.046 GB, free: 66.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/8.217, allocations: 2.899 MB / 4.048 GB, free: 63.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/8.217, allocations: 127.9 kB / 4.049 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/8.217, allocations: 25.19 kB / 4.049 GB, free: 63.55 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 () * 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.0001083/8.217, allocations: 134.1 kB / 4.049 GB, free: 63.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/8.218, allocations: 142.5 kB / 4.049 GB, free: 63.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/8.218, allocations: 384.5 kB / 4.049 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/8.218, allocations: 9 kB / 4.049 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/8.218, allocations: 3.594 kB / 4.049 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/8.218, allocations: 6.922 kB / 4.049 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/8.221, allocations: 2.507 MB / 4.052 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/8.221, allocations: 3.844 kB / 4.052 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/8.221, allocations: 77.34 kB / 4.052 GB, free: 61.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/8.221, allocations: 71.16 kB / 4.052 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/8.221, allocations: 13.47 kB / 4.052 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006612/8.222, allocations: 2.297 MB / 4.054 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/8.222, allocations: 10.19 kB / 4.054 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/8.222, allocations: 1.051 MB / 4.055 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/8.223, allocations: 251 kB / 4.055 GB, free: 58.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/8.223, allocations: 19.14 kB / 4.055 GB, free: 58.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/8.224, allocations: 72.02 kB / 4.055 GB, free: 58.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/8.224, allocations: 36.47 kB / 4.056 GB, free: 58.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/8.224, allocations: 21.17 kB / 4.056 GB, free: 58.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000797/8.224, allocations: 0.8363 MB / 4.056 GB, free: 58.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/8.224, allocations: 1.406 kB / 4.056 GB, free: 58.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002207/8.227, allocations: 0.7899 MB / 4.057 GB, free: 58.26 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 () * 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.004674/8.231, allocations: 6.401 MB / 4.063 GB, free: 53.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001175/8.233, allocations: 0.7247 MB / 4.064 GB, free: 53.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/8.233, allocations: 0 / 4.064 GB, free: 53.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/8.233, allocations: 179.6 kB / 4.064 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/8.236, allocations: 0.7481 MB / 4.065 GB, free: 53.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/8.238, allocations: 1.633 MB / 4.067 GB, free: 53.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/8.238, allocations: 1.165 MB / 4.068 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001139/8.239, allocations: 435.7 kB / 4.068 GB, free: 52.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/8.24, allocations: 418.5 kB / 4.069 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/8.24, allocations: 3.938 kB / 4.069 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/8.352, allocations: 92.57 MB / 4.159 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/8.352, allocations: 248.7 kB / 4.159 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.748/13.1, allocations: 0 / 4.159 GB, free: 14.45 MB / 0.7605 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)