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.448/1.448, allocations: 252 MB / 267 MB, free: 10.98 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.001012/0.001012, allocations: 184.1 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.687/1.687, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0009386/0.0009387, allocations: 97.61 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 9.719 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2467, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1618/0.4086, allocations: 146.6 MB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4111, allocations: 0.9699 MB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.4114, allocations: 11.94 kB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.412, allocations: 107.3 kB / 1.045 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.4137, allocations: 457.9 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.4144, allocations: 182.1 kB / 1.045 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.4151, allocations: 0.6084 MB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.4154, allocations: 132.2 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.4158, allocations: 211.2 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.416, allocations: 159.3 kB / 1.046 GB, free: 9.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.4161, allocations: 8 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.4169, allocations: 291.2 kB / 1.046 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.417, allocations: 83.75 kB / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.4171, allocations: 65.58 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.4175, allocations: 303.6 kB / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4175, allocations: 0 / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4175, allocations: 0 / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.4175, allocations: 0 / 1.047 GB, free: 9.246 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001437/0.419, allocations: 0.5456 MB / 1.047 GB, free: 8.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.419, allocations: 12.03 kB / 1.047 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.4191, allocations: 54.55 kB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.4194, allocations: 55.67 kB / 1.048 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.4197, allocations: 266.5 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4197, allocations: 12.33 kB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.4198, allocations: 19.98 kB / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.4203, allocations: 246.9 kB / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.4203, allocations: 0 / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.4203, allocations: 8 kB / 1.048 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.4204, allocations: 15.94 kB / 1.048 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.421, allocations: 259.8 kB / 1.048 GB, free: 7.668 MB / 0.698 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.00126/0.4222, allocations: 0.8394 MB / 1.049 GB, free: 6.754 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4226, allocations: 150.5 kB / 1.049 GB, free: 6.598 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.4229, allocations: 120.8 kB / 1.049 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.4232, allocations: 190.2 kB / 1.05 GB, free: 6.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4232, allocations: 34.56 kB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.4232, allocations: 0 / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000886/0.4241, allocations: 319.5 kB / 1.05 GB, free: 5.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.4242, allocations: 55.41 kB / 1.05 GB, free: 5.828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4244, allocations: 245 kB / 1.05 GB, free: 5.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4244, allocations: 25.7 kB / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4246, allocations: 140.2 kB / 1.05 GB, free: 5.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4246, allocations: 43.36 kB / 1.05 GB, free: 5.367 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.4246, allocations: 4 kB / 1.05 GB, free: 5.363 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4248, allocations: 330.8 kB / 1.051 GB, free: 5.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.425, allocations: 79.88 kB / 1.051 GB, free: 4.953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4252, allocations: 110.5 kB / 1.051 GB, free: 4.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.4254, allocations: 75.95 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4254, allocations: 0 / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004751/0.4259, allocations: 229.3 kB / 1.051 GB, free: 4.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4259, allocations: 4 kB / 1.051 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4259, allocations: 0 / 1.051 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4259, allocations: 4 kB / 1.051 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.4261, allocations: 31.97 kB / 1.051 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4262, allocations: 8 kB / 1.051 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.4264, allocations: 27.83 kB / 1.051 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4264, allocations: 7.953 kB / 1.051 GB, free: 4.449 MB / 0.698 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.0001478/0.4266, allocations: 141.6 kB / 1.051 GB, free: 4.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4266, allocations: 27.7 kB / 1.051 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.4267, allocations: 29.78 kB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4267, allocations: 8 kB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4267, allocations: 0 / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4267, allocations: 3.984 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4278, allocations: 0.6874 MB / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4279, allocations: 0 / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.428, allocations: 35.92 kB / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.428, allocations: 4.219 kB / 1.052 GB, free: 3.434 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4281, allocations: 11.95 kB / 1.052 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.4281, allocations: 7.984 kB / 1.052 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4281, allocations: 3.938 kB / 1.052 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.4286, allocations: 354.3 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4287, allocations: 116.8 kB / 1.053 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.4288, allocations: 12 kB / 1.053 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.429, allocations: 23.94 kB / 1.053 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.429, allocations: 11.92 kB / 1.053 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.429, allocations: 7.938 kB / 1.053 GB, free: 2.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001792/0.4292, allocations: 180.5 kB / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4292, allocations: 0 / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003417/0.4296, allocations: 59.91 kB / 1.053 GB, free: 2.605 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.001094/0.4307, allocations: 0.942 MB / 1.054 GB, free: 1.621 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.4312, allocations: 183.7 kB / 1.054 GB, free: 1.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4312, allocations: 4 kB / 1.054 GB, free: 1.438 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.4314, allocations: 96.44 kB / 1.054 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.4322, allocations: 124.2 kB / 1.054 GB, free: 1.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4297/0.8619, allocations: 1.367 MB / 1.056 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.8623, allocations: 0.7524 MB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.8627, allocations: 67.48 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.8629, allocations: 67.33 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/0.8629, allocations: 0 / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.8866, allocations: 6.386 MB / 1.063 GB, free: 155.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.8868, allocations: 242.9 kB / 1.063 GB, free: 155.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.836, allocations: 0 / 1.063 GB, free: 155.3 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)