Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 182.3 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.5777 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.00087, allocations: 98.28 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004827, allocations: 9.312 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03053/0.2804, allocations: 41.19 MB / 0.9405 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.2933, allocations: 12.14 MB / 0.9524 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2951, allocations: 39.75 kB / 0.9524 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2965, allocations: 405.3 kB / 0.9528 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.3012, allocations: 1.55 MB / 0.9543 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.3053, allocations: 0.9247 MB / 0.9552 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004284/0.3096, allocations: 3.652 MB / 0.9588 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.3108, allocations: 0.7465 MB / 0.9595 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.313, allocations: 1.073 MB / 0.9606 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3141, allocations: 0.844 MB / 0.9614 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3142, allocations: 48 kB / 0.9614 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3167, allocations: 1.13 MB / 0.9625 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.3169, allocations: 203 kB / 0.9627 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.3173, allocations: 269.1 kB / 0.963 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.3194, allocations: 1.738 MB / 0.9647 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3194, allocations: 0 / 0.9647 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3194, allocations: 0 / 0.9647 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.3194, allocations: 0 / 0.9647 GB, free: 13.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002983/0.3224, allocations: 1.46 MB / 0.9661 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3225, allocations: 8.031 kB / 0.9661 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.3226, allocations: 114.5 kB / 0.9662 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.323, allocations: 130.5 kB / 0.9664 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.3252, allocations: 1.16 MB / 0.9675 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.3253, allocations: 54 kB / 0.9675 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3254, allocations: 75.89 kB / 0.9676 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3268, allocations: 0.7598 MB / 0.9683 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3268, allocations: 4 kB / 0.9684 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.3269, allocations: 28 kB / 0.9684 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.3269, allocations: 16 kB / 0.9684 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.328, allocations: 0.5673 MB / 0.9689 GB, free: 9.172 MB / 0.6198 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.005661/0.3337, allocations: 4.006 MB / 0.9729 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.3347, allocations: 478.9 kB / 0.9733 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.3351, allocations: 221.1 kB / 0.9735 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.3365, allocations: 1.519 MB / 0.975 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3366, allocations: 42.52 kB / 0.9751 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.335e-06/0.3366, allocations: 0 / 0.9751 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.001442/0.338, allocations: 0.6786 MB / 0.9757 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3381, allocations: 59.41 kB / 0.9758 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.3395, allocations: 1.002 MB / 0.9768 GB, free: 476 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.3395, allocations: 37.7 kB / 0.9768 GB, free: 432 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.3399, allocations: 476.8 kB / 0.9772 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.3401, allocations: 165.6 kB / 0.9774 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3402, allocations: 12 kB / 0.9774 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3403, allocations: 326 kB / 0.9777 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.3407, allocations: 189 kB / 0.9779 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.3412, allocations: 324.5 kB / 0.9782 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.3416, allocations: 228.8 kB / 0.9784 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3416, allocations: 3.938 kB / 0.9784 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001159/0.3428, allocations: 0.6546 MB / 0.9791 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3429, allocations: 191.3 kB / 0.9793 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.3429, allocations: 4 kB / 0.9793 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.343, allocations: 8 kB / 0.9793 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.3434, allocations: 127.8 kB / 0.9794 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3435, allocations: 8 kB / 0.9794 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.3442, allocations: 99.17 kB / 0.9795 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.3442, allocations: 31.98 kB / 0.9795 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.3443, allocations: 4 kB / 0.9795 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009647/0.3452, allocations: 0.5295 MB / 0.98 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3453, allocations: 4 kB / 0.98 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.3453, allocations: 8 kB / 0.9801 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.3457, allocations: 127.8 kB / 0.9802 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3457, allocations: 11.94 kB / 0.9802 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.3463, allocations: 99.39 kB / 0.9803 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.3464, allocations: 24 kB / 0.9803 GB, free: 12.7 MB / 0.6355 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004625/0.3469, allocations: 345 kB / 0.9806 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.347, allocations: 110.6 kB / 0.9807 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.3487, allocations: 0.9718 MB / 0.9817 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.3488, allocations: 8.047 kB / 0.9817 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3488, allocations: 11.95 kB / 0.9817 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.3499, allocations: 0.8415 MB / 0.9825 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.3531, allocations: 2.023 MB / 0.9845 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.3531, allocations: 3.984 kB / 0.9845 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.3536, allocations: 95.89 kB / 0.9846 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3536, allocations: 11.94 kB / 0.9846 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.3536, allocations: 19.98 kB / 0.9846 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3537, allocations: 4 kB / 0.9846 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.3537, allocations: 3.938 kB / 0.9846 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.3555, allocations: 1.21 MB / 0.9858 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.356, allocations: 315.3 kB / 0.9861 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.3562, allocations: 12 kB / 0.9861 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.3569, allocations: 47.88 kB / 0.9862 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.357, allocations: 56.42 kB / 0.9862 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.3571, allocations: 27.98 kB / 0.9863 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001254/0.3583, allocations: 0.7109 MB / 0.987 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3584, allocations: 0 / 0.987 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001723/0.3601, allocations: 0.6007 MB / 0.9875 GB, free: 5.047 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.003221/0.3633, allocations: 2.151 MB / 0.9896 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.3651, allocations: 0.9346 MB / 0.9906 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3651, allocations: 0 / 0.9906 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.3657, allocations: 407.4 kB / 0.9909 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.3686, allocations: 0.5779 MB / 0.9915 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.3819, allocations: 6.467 MB / 0.9978 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.3827, allocations: 1.066 MB / 0.9989 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00125/0.3839, allocations: 306.1 kB / 0.9992 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.3846, allocations: 431.3 kB / 0.9996 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/0.3846, allocations: 0 / 0.9996 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/0.4469, allocations: 35.38 MB / 1.034 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.4472, allocations: 255.7 kB / 1.034 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/3.581, allocations: 0 / 1.034 GB, free: 5.074 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)