Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007594/0.0007593, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 180.2 kB / 16.59 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.619/0.619, allocations: 113.7 MB / 405.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8.5 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3633/0.4911, allocations: 146.5 MB / 0.6999 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.4927, allocations: 0.921 MB / 0.7008 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.493, allocations: 7.938 kB / 0.7008 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.4935, allocations: 107.3 kB / 0.7009 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.4946, allocations: 461.9 kB / 0.7014 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.4951, allocations: 188.5 kB / 0.7016 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.4958, allocations: 0.624 MB / 0.7022 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.4962, allocations: 132.2 kB / 0.7023 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.4966, allocations: 211.2 kB / 0.7025 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.4969, allocations: 163.3 kB / 0.7027 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.4969, allocations: 8 kB / 0.7027 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.4975, allocations: 291.2 kB / 0.7029 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.4976, allocations: 75.78 kB / 0.703 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.4977, allocations: 65.58 kB / 0.7031 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.4981, allocations: 303.3 kB / 0.7034 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4981, allocations: 0 / 0.7034 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4981, allocations: 0 / 0.7034 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4981, allocations: 7.938 kB / 0.7034 GB, free: 4.914 MB / 0.5137 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.001207/0.4993, allocations: 0.5502 MB / 0.7039 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4994, allocations: 12.03 kB / 0.7039 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.4994, allocations: 50.55 kB / 0.704 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.4997, allocations: 43.69 kB / 0.704 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5, allocations: 266.6 kB / 0.7043 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5, allocations: 12.33 kB / 0.7043 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.5, allocations: 20 kB / 0.7043 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.5005, allocations: 247.7 kB / 0.7045 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5005, allocations: 3.984 kB / 0.7045 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5005, allocations: 7.938 kB / 0.7045 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.5006, allocations: 12 kB / 0.7046 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.5011, allocations: 267.6 kB / 0.7048 GB, free: 3.34 MB / 0.5137 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.001068/0.5022, allocations: 0.847 MB / 0.7056 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.5025, allocations: 150.3 kB / 0.7058 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5027, allocations: 120.7 kB / 0.7059 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.5029, allocations: 190.2 kB / 0.7061 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5029, allocations: 38.56 kB / 0.7061 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5029, allocations: 0 / 0.7061 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007174/0.5036, allocations: 309.2 kB / 0.7064 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5037, allocations: 55.41 kB / 0.7065 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.5039, allocations: 241 kB / 0.7067 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.5039, allocations: 25.7 kB / 0.7067 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.504, allocations: 140.2 kB / 0.7068 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.504, allocations: 39.36 kB / 0.7069 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.5041, allocations: 8 kB / 0.7069 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.5042, allocations: 338.8 kB / 0.7072 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.5043, allocations: 75.89 kB / 0.7073 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.5045, allocations: 104 kB / 0.7074 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.5047, allocations: 87.95 kB / 0.7075 GB, free: 436 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5047, allocations: 3.953 kB / 0.7075 GB, free: 432 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003947/0.5051, allocations: 221.4 kB / 0.7077 GB, free: 204 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5051, allocations: 8 kB / 0.7077 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5051, allocations: 0 / 0.7077 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5051, allocations: 0 / 0.7077 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5053, allocations: 31.98 kB / 0.7077 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5053, allocations: 3.938 kB / 0.7077 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5055, allocations: 31.86 kB / 0.7078 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.5055, allocations: 15.86 kB / 0.7078 GB, free: 116 kB / 0.5137 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.0001279/0.5057, allocations: 142.5 kB / 0.7079 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5057, allocations: 31.61 kB / 0.7079 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.5058, allocations: 29.83 kB / 0.708 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5058, allocations: 4 kB / 0.708 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5058, allocations: 0 / 0.708 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5058, allocations: 0 / 0.708 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000897/0.5067, allocations: 0.6873 MB / 0.7086 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5067, allocations: 0 / 0.7086 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5069, allocations: 35.97 kB / 0.7087 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5069, allocations: 4 kB / 0.7087 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5069, allocations: 4 kB / 0.7087 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5069, allocations: 4 kB / 0.7087 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5069, allocations: 3.938 kB / 0.7087 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.5074, allocations: 361.4 kB / 0.709 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.5075, allocations: 120.7 kB / 0.7092 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.5075, allocations: 4 kB / 0.7092 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5077, allocations: 15.98 kB / 0.7092 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5077, allocations: 23.88 kB / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5077, allocations: 8 kB / 0.7092 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001371/0.5079, allocations: 176.5 kB / 0.7094 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5079, allocations: 0 / 0.7094 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003075/0.5082, allocations: 59.91 kB / 0.7094 GB, free: 14.28 MB / 0.5294 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.0008633/0.5091, allocations: 0.9426 MB / 0.7103 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.5095, allocations: 183.8 kB / 0.7105 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5095, allocations: 0 / 0.7105 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.5097, allocations: 99.94 kB / 0.7106 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.5104, allocations: 121.8 kB / 0.7107 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.5122, allocations: 1.37 MB / 0.7121 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5125, allocations: 0.756 MB / 0.7128 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.5127, allocations: 61.91 kB / 0.7129 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5128, allocations: 63.41 kB / 0.7129 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5128, allocations: 0 / 0.7129 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.5295, allocations: 6.378 MB / 0.7192 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.5297, allocations: 229.1 kB / 0.7194 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.192, allocations: 0 / 0.7194 GB, free: 4.164 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: