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.478/1.478, allocations: 252 MB / 267.3 MB, free: 10.84 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.001054/0.001055, allocations: 168.3 kB / 327 MB, free: 2.117 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.768/1.768, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007075/0.0007075, allocations: 89.92 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 9.156 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1664/0.3877, allocations: 157.1 MB / 1.054 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3897, allocations: 1.013 MB / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3899, allocations: 7.938 kB / 1.055 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.3903, allocations: 127.3 kB / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.5293/0.9196, allocations: 0.5872 MB / 1.056 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.9204, allocations: 198.1 kB / 1.056 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.9214, allocations: 0.7143 MB / 1.057 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.9218, allocations: 157.1 kB / 1.057 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.9222, allocations: 210.9 kB / 1.057 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.9224, allocations: 167.3 kB / 1.057 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.9224, allocations: 8.844 kB / 1.057 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.9235, allocations: 0.637 MB / 1.058 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.9236, allocations: 75.16 kB / 1.058 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.9239, allocations: 134.7 kB / 1.058 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.9246, allocations: 0.5051 MB / 1.059 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9246, allocations: 2.812 kB / 1.059 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.988e-06/0.9246, allocations: 3.469 kB / 1.059 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.9247, allocations: 2.734 kB / 1.059 GB, free: 18.27 MB / 0.7136 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.001331/0.926, allocations: 0.5504 MB / 1.059 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9261, allocations: 12.41 kB / 1.059 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.9261, allocations: 50 kB / 1.059 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.9264, allocations: 47.09 kB / 1.059 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.9267, allocations: 278 kB / 1.06 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.9268, allocations: 16.39 kB / 1.06 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.9268, allocations: 17.23 kB / 1.06 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.9274, allocations: 248.3 kB / 1.06 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9274, allocations: 0 / 1.06 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.9274, allocations: 10.09 kB / 1.06 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.9275, allocations: 16.62 kB / 1.06 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.9282, allocations: 259.2 kB / 1.06 GB, free: 17.54 MB / 0.7136 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.00152/0.9297, allocations: 0.8408 MB / 1.061 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.9301, allocations: 150.3 kB / 1.061 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.9303, allocations: 118.4 kB / 1.061 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.9306, allocations: 190 kB / 1.061 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.9306, allocations: 34.88 kB / 1.062 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.9306, allocations: 0 / 1.062 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0008061/0.9314, allocations: 314.1 kB / 1.062 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.9315, allocations: 54.83 kB / 1.062 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.9318, allocations: 244.7 kB / 1.062 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.9318, allocations: 33.08 kB / 1.062 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.9319, allocations: 134.5 kB / 1.062 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.9319, allocations: 52.53 kB / 1.062 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.932, allocations: 6.469 kB / 1.062 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9321, allocations: 330.2 kB / 1.063 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.9323, allocations: 68.98 kB / 1.063 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.9326, allocations: 112.7 kB / 1.063 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.9329, allocations: 185 kB / 1.063 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9329, allocations: 3 kB / 1.063 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004498/0.9334, allocations: 225 kB / 1.063 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9334, allocations: 13.03 kB / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9334, allocations: 0.5625 kB / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9335, allocations: 2.938 kB / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.9337, allocations: 30.36 kB / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.9337, allocations: 0 / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.9339, allocations: 32.64 kB / 1.063 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.9339, allocations: 4.141 kB / 1.063 GB, free: 16.05 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.934, allocations: 154.3 kB / 1.063 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.9341, allocations: 20.52 kB / 1.063 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.9342, allocations: 31.03 kB / 1.063 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9342, allocations: 3.609 kB / 1.063 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9342, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.9342, allocations: 0.75 kB / 1.063 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.9352, allocations: 0.6898 MB / 1.064 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.9352, allocations: 3.281 kB / 1.064 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.9354, allocations: 34.03 kB / 1.064 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9354, allocations: 2.812 kB / 1.064 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.9354, allocations: 12.3 kB / 1.064 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.9355, allocations: 6.406 kB / 1.064 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.9355, allocations: 2.5 kB / 1.064 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.936, allocations: 364.4 kB / 1.065 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.9361, allocations: 119.1 kB / 1.065 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.9361, allocations: 11.39 kB / 1.065 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.9363, allocations: 12.05 kB / 1.065 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.9364, allocations: 23.02 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.9364, allocations: 3.719 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002152/0.9366, allocations: 181.1 kB / 1.065 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9366, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003265/0.937, allocations: 55.11 kB / 1.065 GB, free: 15.14 MB / 0.7136 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 (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.001048/0.938, allocations: 0.9601 MB / 1.066 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.9385, allocations: 180.7 kB / 1.066 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9386, allocations: 4.125 kB / 1.066 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.9388, allocations: 101.3 kB / 1.066 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.9397, allocations: 122 kB / 1.066 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.9432, allocations: 2.55 MB / 1.069 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.9436, allocations: 0.7531 MB / 1.07 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000268/0.9439, allocations: 60.98 kB / 1.07 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.944, allocations: 69.52 kB / 1.07 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.944, allocations: 0 / 1.07 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.9636, allocations: 6.427 MB / 1.076 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.9639, allocations: 257.2 kB / 1.076 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.967, allocations: 0 / 1.076 GB, free: 11.48 MB / 0.7136 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)