Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",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.8346/0.8346, allocations: 143.3 MB / 158.3 MB, free: 5.754 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.001247/0.001247, allocations: 181 kB / 191.5 MB, free: 5.742 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.488/1.488, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009856/0.0009857, allocations: 96.27 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00183/0.00183, allocations: 275.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004627, allocations: 12.28 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.227/4.402, allocations: 1.826 GB / 2.6 GB, free: 251.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/4.403, allocations: 86.77 kB / 2.6 GB, free: 251.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3956/4.798, allocations: 217.5 MB / 2.812 GB, free: 33.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.524e-06/4.798, allocations: 0 / 2.812 GB, free: 33.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.298e-05/4.799, allocations: 4 kB / 2.812 GB, free: 33.56 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002079/4.801, allocations: 0.6395 MB / 2.813 GB, free: 32.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/4.801, allocations: 12.03 kB / 2.813 GB, free: 32.86 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/4.801, allocations: 50.55 kB / 2.813 GB, free: 32.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/4.801, allocations: 55.66 kB / 2.813 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/4.802, allocations: 290.3 kB / 2.813 GB, free: 32.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/4.802, allocations: 16 kB / 2.813 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/4.802, allocations: 16 kB / 2.813 GB, free: 32.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/4.802, allocations: 241.3 kB / 2.813 GB, free: 32.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/4.802, allocations: 4 kB / 2.813 GB, free: 32.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/4.802, allocations: 11.94 kB / 2.813 GB, free: 32.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/4.802, allocations: 4.328 kB / 2.813 GB, free: 32.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/4.803, allocations: 212.5 kB / 2.813 GB, free: 31.92 MB / 0.7136 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.001415/4.804, allocations: 0.8988 MB / 2.814 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/4.804, allocations: 150.4 kB / 2.814 GB, free: 30.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/4.805, allocations: 190.2 kB / 2.815 GB, free: 30.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/4.805, allocations: 34.5 kB / 2.815 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/4.805, allocations: 4 kB / 2.815 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0008835/4.806, allocations: 347.9 kB / 2.815 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/4.806, allocations: 59.36 kB / 2.815 GB, free: 30.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/4.806, allocations: 216.2 kB / 2.815 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/4.806, allocations: 33.7 kB / 2.815 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/4.806, allocations: 132.4 kB / 2.815 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/4.806, allocations: 47.27 kB / 2.816 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/4.806, allocations: 4 kB / 2.816 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/4.806, allocations: 330.8 kB / 2.816 GB, free: 29.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/4.806, allocations: 95.86 kB / 2.816 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/4.806, allocations: 128.2 kB / 2.816 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/4.807, allocations: 95.92 kB / 2.816 GB, free: 29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/4.807, allocations: 0 / 2.816 GB, free: 29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004823/4.807, allocations: 249.3 kB / 2.816 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/4.807, allocations: 4 kB / 2.816 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/4.807, allocations: 4 kB / 2.816 GB, free: 28.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/4.807, allocations: 0 / 2.816 GB, free: 28.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/4.807, allocations: 43.97 kB / 2.816 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/4.807, allocations: 0 / 2.816 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/4.808, allocations: 35.81 kB / 2.816 GB, free: 28.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/4.808, allocations: 15.92 kB / 2.816 GB, free: 28.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/4.808, allocations: 145.8 kB / 2.817 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/4.808, allocations: 19.72 kB / 2.817 GB, free: 28.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/4.808, allocations: 29.83 kB / 2.817 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/4.808, allocations: 0 / 2.817 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/4.808, allocations: 4 kB / 2.817 GB, free: 28.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/4.808, allocations: 0 / 2.817 GB, free: 28.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/4.809, allocations: 0.738 MB / 2.817 GB, free: 27.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/4.809, allocations: 0 / 2.817 GB, free: 27.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/4.809, allocations: 35.97 kB / 2.817 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/4.809, allocations: 7.953 kB / 2.817 GB, free: 27.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/4.809, allocations: 3.984 kB / 2.817 GB, free: 27.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/4.809, allocations: 4 kB / 2.817 GB, free: 27.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/4.809, allocations: 8.016 kB / 2.817 GB, free: 27.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/4.81, allocations: 471.4 kB / 2.818 GB, free: 27.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/4.81, allocations: 128.7 kB / 2.818 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/4.81, allocations: 8 kB / 2.818 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/4.81, allocations: 15.92 kB / 2.818 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/4.81, allocations: 15.98 kB / 2.818 GB, free: 26.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/4.81, allocations: 11.98 kB / 2.818 GB, free: 26.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001267/4.81, allocations: 176.5 kB / 2.818 GB, free: 26.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/4.81, allocations: 3.938 kB / 2.818 GB, free: 26.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006357/4.811, allocations: 128 kB / 2.818 GB, free: 26.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/4.813, allocations: 2.26 MB / 2.821 GB, free: 24.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004888/4.814, allocations: 209.7 kB / 2.821 GB, free: 24.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/4.814, allocations: 3.938 kB / 2.821 GB, free: 24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/4.814, allocations: 120.4 kB / 2.821 GB, free: 23.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/4.814, allocations: 120.1 kB / 2.821 GB, free: 23.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/4.816, allocations: 1.7 MB / 2.823 GB, free: 21.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/4.817, allocations: 0.7521 MB / 2.823 GB, free: 21.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002633/4.817, allocations: 77.88 kB / 2.823 GB, free: 21.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/4.817, allocations: 71.41 kB / 2.824 GB, free: 21.06 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/4.817, allocations: 0 / 2.824 GB, free: 21.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/4.851, allocations: 20.34 MB / 2.843 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/4.851, allocations: 241.9 kB / 2.844 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/7.157, allocations: 4 kB / 2.844 GB, free: 0.668 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)