Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.337/1.337, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009581/0.0009582, allocations: 182.4 kB / 325.8 MB, free: 2.68 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.579/1.579, allocations: 205 MB / 0.576 GB, free: 20.96 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.0008155/0.0008155, allocations: 90.94 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 10.31 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.215, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04179/0.2569, allocations: 60.1 MB / 0.9549 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.2798, allocations: 18.3 MB / 0.9728 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.2827, allocations: 63.62 kB / 0.9728 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.2856, allocations: 0.7071 MB / 0.9735 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007324/0.2929, allocations: 2.352 MB / 0.9758 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004985/0.2979, allocations: 1.559 MB / 0.9773 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007503/0.3055, allocations: 5.665 MB / 0.9829 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.308, allocations: 1.167 MB / 0.984 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.3121, allocations: 1.614 MB / 0.9856 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.3148, allocations: 1.244 MB / 0.9868 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.3153, allocations: 71.98 kB / 0.9869 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.3198, allocations: 1.622 MB / 0.9885 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/0.3204, allocations: 310.5 kB / 0.9887 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.3223, allocations: 0.8546 MB / 0.9896 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006043/0.3283, allocations: 3.022 MB / 0.9925 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3284, allocations: 7.984 kB / 0.9925 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3284, allocations: 0 / 0.9925 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.913e-05/0.3285, allocations: 0 / 0.9925 GB, free: 1.055 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004979/0.3335, allocations: 1.937 MB / 0.9944 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.3336, allocations: 12.03 kB / 0.9944 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005109/0.3341, allocations: 160.8 kB / 0.9946 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.3364, allocations: 409.3 kB / 0.995 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.3407, allocations: 1.549 MB / 0.9965 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.3408, allocations: 86.08 kB / 0.9966 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.341, allocations: 108 kB / 0.9967 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.3436, allocations: 1.221 MB / 0.9979 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.3437, allocations: 3.906 kB / 0.9979 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3438, allocations: 47.94 kB / 0.9979 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.3438, allocations: 35.88 kB / 0.998 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.3461, allocations: 0.968 MB / 0.9989 GB, free: 10.32 MB / 0.6511 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.008725/0.3548, allocations: 6.594 MB / 1.005 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3568, allocations: 0.8653 MB / 1.006 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.3576, allocations: 434.5 kB / 1.007 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/0.3594, allocations: 1.793 MB / 1.008 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.3605, allocations: 484.2 kB / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=77): time 4.098e-06/0.3605, allocations: 0 / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77): time 0.003006/0.3635, allocations: 1.246 MB / 1.01 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3636, allocations: 85.77 kB / 1.01 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.3657, allocations: 1.284 MB / 1.011 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.3658, allocations: 45.7 kB / 1.011 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.3665, allocations: 0.7084 MB / 1.012 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.3667, allocations: 276.1 kB / 1.012 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3669, allocations: 73.67 kB / 1.012 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.367, allocations: 341.9 kB / 1.013 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/0.3678, allocations: 357.7 kB / 1.013 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3689, allocations: 0.5877 MB / 1.014 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.3708, allocations: 0.9466 MB / 1.015 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.3709, allocations: 4 kB / 1.015 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002597/0.3735, allocations: 1.142 MB / 1.016 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.3737, allocations: 282.2 kB / 1.016 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.3737, allocations: 8 kB / 1.016 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.3737, allocations: 12 kB / 1.016 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.3747, allocations: 223.7 kB / 1.016 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/0.3747, allocations: 11.94 kB / 1.016 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.3763, allocations: 167 kB / 1.016 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3764, allocations: 55.91 kB / 1.016 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3765, allocations: 4 kB / 1.016 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/0.3786, allocations: 0.9782 MB / 1.017 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.3786, allocations: 11.98 kB / 1.017 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3786, allocations: 16 kB / 1.017 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.3794, allocations: 215.7 kB / 1.018 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3795, allocations: 15.94 kB / 1.018 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.3808, allocations: 163.3 kB / 1.018 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/0.3809, allocations: 39.98 kB / 1.018 GB, free: 5.625 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008231/0.3818, allocations: 408.8 kB / 1.018 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/0.3822, allocations: 154.1 kB / 1.018 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.3853, allocations: 1.444 MB / 1.02 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.3854, allocations: 12 kB / 1.02 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3854, allocations: 0 / 1.02 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.3875, allocations: 1.256 MB / 1.021 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/0.3926, allocations: 2.74 MB / 1.024 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.3926, allocations: 4.094 kB / 1.024 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.3934, allocations: 175.7 kB / 1.024 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.3934, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.3935, allocations: 27.97 kB / 1.024 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.3935, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3935, allocations: 8 kB / 1.024 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.3971, allocations: 1.867 MB / 1.026 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.3978, allocations: 354.9 kB / 1.026 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.3981, allocations: 16 kB / 1.026 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.3992, allocations: 119.7 kB / 1.026 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.3994, allocations: 72.84 kB / 1.026 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.3994, allocations: 39.97 kB / 1.026 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00144/0.4009, allocations: 0.8728 MB / 1.027 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4009, allocations: 7.938 kB / 1.027 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002344/0.4033, allocations: 0.8576 MB / 1.028 GB, free: 11.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005631/0.4089, allocations: 3.237 MB / 1.031 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003375/0.4123, allocations: 1.593 MB / 1.033 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4123, allocations: 0 / 1.033 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.4134, allocations: 0.6071 MB / 1.033 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.4167, allocations: 0.6503 MB / 1.034 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/0.4414, allocations: 12.58 MB / 1.046 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4425, allocations: 1.243 MB / 1.047 GB, free: 6.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001756/0.4443, allocations: 408.4 kB / 1.048 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009399/0.4452, allocations: 0.6593 MB / 1.048 GB, free: 5.566 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.4452, allocations: 0 / 1.048 GB, free: 5.566 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9838/1.429, allocations: 43.8 MB / 1.091 GB, free: 131.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/1.429, allocations: 278.5 kB / 1.092 GB, free: 131.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/5.096, allocations: 0 / 1.092 GB, free: 131.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)