Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.459/1.459, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001156/0.001156, allocations: 183.9 kB / 326.5 MB, free: 2.234 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.602/1.602, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008767/0.0008768, allocations: 103.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003067, allocations: 9.188 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1446/0.3515, allocations: 135.6 MB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3535, allocations: 1.019 MB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3537, allocations: 7.938 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.3544, allocations: 179.2 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.3556, allocations: 426.7 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.3564, allocations: 295.6 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.3568, allocations: 308.3 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.3572, allocations: 140.2 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.3578, allocations: 251.2 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3579, allocations: 99.61 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.358, allocations: 16 kB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.3585, allocations: 247.5 kB / 1.035 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.3586, allocations: 67.8 kB / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.3587, allocations: 69.58 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3591, allocations: 267.5 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3591, allocations: 3.938 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3591, allocations: 0 / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3591, allocations: 0 / 1.036 GB, free: 4.562 MB / 0.6823 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.001389/0.3605, allocations: 0.5455 MB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3605, allocations: 12.03 kB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.3606, allocations: 50.55 kB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.3609, allocations: 47.69 kB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3613, allocations: 270.5 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3613, allocations: 12.33 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3614, allocations: 19.98 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.3619, allocations: 246.9 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3619, allocations: 0 / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3619, allocations: 4 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.362, allocations: 12 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.3626, allocations: 255.8 kB / 1.037 GB, free: 3.004 MB / 0.6823 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.001195/0.3638, allocations: 0.7848 MB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3641, allocations: 146.5 kB / 1.038 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.3642, allocations: 8 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3642, allocations: 42.5 kB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.3642, allocations: 0 / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0008967/0.3651, allocations: 319.4 kB / 1.038 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3652, allocations: 51.41 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3654, allocations: 245 kB / 1.039 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3655, allocations: 29.7 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.3656, allocations: 124.3 kB / 1.039 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.3656, allocations: 55.2 kB / 1.039 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.3657, allocations: 3.938 kB / 1.039 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3658, allocations: 342.8 kB / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.366, allocations: 71.94 kB / 1.039 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3662, allocations: 110.5 kB / 1.039 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3664, allocations: 75.95 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3664, allocations: 0 / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004668/0.3669, allocations: 225.4 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3669, allocations: 4 kB / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.367, allocations: 0 / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.367, allocations: 4 kB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3672, allocations: 35.97 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3672, allocations: 0 / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3674, allocations: 31.86 kB / 1.04 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3674, allocations: 8 kB / 1.04 GB, free: 180 kB / 0.6823 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.0001485/0.3676, allocations: 149.5 kB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3677, allocations: 27.7 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.3678, allocations: 33.78 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3678, allocations: 0 / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3678, allocations: 0 / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3678, allocations: 3.984 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3689, allocations: 0.6951 MB / 1.041 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3689, allocations: 4 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3691, allocations: 35.92 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3691, allocations: 4 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3692, allocations: 3.953 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3692, allocations: 7.984 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3692, allocations: 4.219 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.3698, allocations: 438.6 kB / 1.041 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3699, allocations: 120.8 kB / 1.041 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3699, allocations: 7.984 kB / 1.041 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3701, allocations: 12 kB / 1.041 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.3702, allocations: 15.92 kB / 1.041 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3702, allocations: 15.92 kB / 1.041 GB, free: 14.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001768/0.3704, allocations: 172.5 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3704, allocations: 0 / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003652/0.3708, allocations: 63.84 kB / 1.042 GB, free: 14.2 MB / 0.698 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.00134/0.3721, allocations: 1.506 MB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3726, allocations: 189.1 kB / 1.043 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3726, allocations: 0 / 1.043 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.3729, allocations: 104.4 kB / 1.043 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.3736, allocations: 118.3 kB / 1.043 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.376, allocations: 1.656 MB / 1.045 GB, free: 10.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3764, allocations: 0.7599 MB / 1.046 GB, free: 9.707 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.3767, allocations: 57.91 kB / 1.046 GB, free: 9.652 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3768, allocations: 71.41 kB / 1.046 GB, free: 9.582 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.3768, allocations: 4 kB / 1.046 GB, free: 9.578 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.396, allocations: 6.361 MB / 1.052 GB, free: 3.422 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3962, allocations: 240.5 kB / 1.052 GB, free: 3.176 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.287, allocations: 0 / 1.052 GB, free: 3.176 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)