Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe",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.679/0.679, 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.0009048/0.0009048, allocations: 189.9 kB / 187.3 MB, free: 11.87 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.219/1.219, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0007839/0.000784, allocations: 103 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 274.8 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.719e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3597, allocations: 82.76 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6375/0.9972, allocations: 402.8 MB / 1.158 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.9975, allocations: 87.42 kB / 1.158 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/2.503, allocations: 0.5196 GB / 1.677 GB, free: 51.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/2.503, allocations: 4 kB / 1.677 GB, free: 51.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001066/2.503, allocations: 36.16 kB / 1.677 GB, free: 51.57 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002605/2.506, allocations: 1.637 MB / 1.679 GB, free: 49.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/2.506, allocations: 12.03 kB / 1.679 GB, free: 49.87 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/2.506, allocations: 143.5 kB / 1.679 GB, free: 49.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/2.506, allocations: 174 kB / 1.679 GB, free: 49.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0456/2.552, allocations: 27.62 MB / 1.706 GB, free: 21.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/2.552, allocations: 95.7 kB / 1.706 GB, free: 21.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/2.552, allocations: 88 kB / 1.706 GB, free: 21.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/2.554, allocations: 1.089 MB / 1.708 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/2.554, allocations: 3.938 kB / 1.708 GB, free: 20.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/2.554, allocations: 40 kB / 1.708 GB, free: 20.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/2.554, allocations: 41.97 kB / 1.708 GB, free: 20.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/2.555, allocations: 0.7965 MB / 1.708 GB, free: 19.4 MB / 0.698 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.004184/2.559, allocations: 4.644 MB / 1.713 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/2.56, allocations: 0.517 MB / 1.713 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/2.56, allocations: 289.5 kB / 1.714 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/2.561, allocations: 0.923 MB / 1.715 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/2.561, allocations: 39.12 kB / 1.715 GB, free: 12.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 2.244e-06/2.561, allocations: 0 / 1.715 GB, free: 12.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.0008038/2.561, allocations: 0.5989 MB / 1.715 GB, free: 11.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/2.561, allocations: 63.97 kB / 1.715 GB, free: 11.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/2.562, allocations: 1.05 MB / 1.716 GB, free: 10.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/2.562, allocations: 37.7 kB / 1.716 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/2.563, allocations: 0.6022 MB / 1.717 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/2.563, allocations: 197.1 kB / 1.717 GB, free: 9.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/2.563, allocations: 8 kB / 1.717 GB, free: 9.891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5e-05/2.563, allocations: 334 kB / 1.717 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/2.563, allocations: 217.5 kB / 1.718 GB, free: 9.348 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/2.564, allocations: 409.8 kB / 1.718 GB, free: 8.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/2.564, allocations: 289.4 kB / 1.718 GB, free: 8.594 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/2.564, allocations: 4 kB / 1.718 GB, free: 8.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008688/2.565, allocations: 0.7588 MB / 1.719 GB, free: 7.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/2.565, allocations: 1.598 MB / 1.721 GB, free: 6.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/2.565, allocations: 4 kB / 1.721 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/2.565, allocations: 8 kB / 1.721 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/2.566, allocations: 187.7 kB / 1.721 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/2.566, allocations: 1.176 MB / 1.722 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/2.567, allocations: 123.3 kB / 1.722 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/2.567, allocations: 35.98 kB / 1.722 GB, free: 4.551 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/2.567, allocations: 4 kB / 1.722 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007777/2.568, allocations: 0.6146 MB / 1.723 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/2.568, allocations: 4 kB / 1.723 GB, free: 3.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/2.568, allocations: 15.97 kB / 1.723 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/2.568, allocations: 159.8 kB / 1.723 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/2.568, allocations: 11.98 kB / 1.723 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/2.569, allocations: 115.2 kB / 1.723 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/2.569, allocations: 28 kB / 1.723 GB, free: 3.605 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001117/2.569, allocations: 154.4 kB / 1.723 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/2.569, allocations: 134.4 kB / 1.723 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/2.57, allocations: 0.8077 MB / 1.724 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/2.57, allocations: 8 kB / 1.724 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/2.57, allocations: 0 / 1.724 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006274/2.571, allocations: 0.654 MB / 1.725 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3549/2.926, allocations: 1.888 MB / 1.727 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/2.926, allocations: 1.516 kB / 1.727 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/2.927, allocations: 135.4 kB / 1.727 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/2.927, allocations: 3.438 kB / 1.727 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.705e-05/2.927, allocations: 22.02 kB / 1.727 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003944/2.927, allocations: 1.177 MB / 1.728 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/2.927, allocations: 1.562 kB / 1.728 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/2.929, allocations: 1.201 MB / 1.729 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/2.93, allocations: 306.1 kB / 1.729 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/2.931, allocations: 16.53 kB / 1.729 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/2.932, allocations: 67.53 kB / 1.729 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/2.932, allocations: 47.34 kB / 1.73 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/2.932, allocations: 31.09 kB / 1.73 GB, free: 103.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001559/2.933, allocations: 0.8279 MB / 1.73 GB, free: 103.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/2.933, allocations: 0 / 1.73 GB, free: 103.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002138/2.936, allocations: 0.7127 MB / 1.731 GB, free: 103.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002792/2.938, allocations: 2.473 MB / 1.733 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001526/2.94, allocations: 0.9965 MB / 1.734 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.94, allocations: 0 / 1.734 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004372/2.94, allocations: 337.6 kB / 1.735 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/2.943, allocations: 0.7277 MB / 1.735 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/2.947, allocations: 2.429 MB / 1.738 GB, free: 102.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/2.947, allocations: 1.368 MB / 1.739 GB, free: 101.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001789/2.949, allocations: 0.6615 MB / 1.74 GB, free: 101.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/2.949, allocations: 491.9 kB / 1.74 GB, free: 101.3 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/2.949, allocations: 0 / 1.74 GB, free: 101.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/3.01, allocations: 44.01 MB / 1.783 GB, free: 100.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/3.01, allocations: 229 kB / 1.783 GB, free: 99.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/6.007, allocations: 0 / 1.783 GB, free: 99.87 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)