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.001515/0.001515, allocations: 101.1 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 187.2 kB / 17.2 MB, free: 5.574 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7194/0.7194, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3071, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1559/0.463, allocations: 161.3 MB / 0.7248 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.4658, allocations: 0.9728 MB / 0.7258 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.4662, allocations: 7.938 kB / 0.7258 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.467, allocations: 151 kB / 0.7259 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4692, allocations: 0.638 MB / 0.7265 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.47, allocations: 220.9 kB / 0.7267 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000991/0.471, allocations: 0.511 MB / 0.7272 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.4715, allocations: 188.1 kB / 0.7274 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.4721, allocations: 231.1 kB / 0.7276 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.4725, allocations: 159.3 kB / 0.7278 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.4725, allocations: 16 kB / 0.7278 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.4738, allocations: 0.5377 MB / 0.7283 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.474, allocations: 83.78 kB / 0.7284 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4742, allocations: 107.4 kB / 0.7285 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4753, allocations: 494.7 kB / 0.729 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4753, allocations: 0 / 0.729 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4753, allocations: 4 kB / 0.729 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4753, allocations: 0 / 0.729 GB, free: 4.664 MB / 0.5606 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.00197/0.4773, allocations: 0.5922 MB / 0.7296 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4774, allocations: 12.56 kB / 0.7296 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.4774, allocations: 58.48 kB / 0.7296 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.4779, allocations: 43.69 kB / 0.7297 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.4783, allocations: 286.3 kB / 0.73 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4784, allocations: 8.328 kB / 0.73 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.4784, allocations: 20 kB / 0.73 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.4792, allocations: 239.1 kB / 0.7302 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4792, allocations: 0 / 0.7302 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.4793, allocations: 8 kB / 0.7302 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.4793, allocations: 8 kB / 0.7302 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.4802, allocations: 251.8 kB / 0.7305 GB, free: 3.055 MB / 0.5606 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.001733/0.4819, allocations: 0.8392 MB / 0.7313 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.4824, allocations: 150.4 kB / 0.7314 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.4827, allocations: 108.9 kB / 0.7315 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.4831, allocations: 190.2 kB / 0.7317 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.4832, allocations: 38.5 kB / 0.7317 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.4832, allocations: 0 / 0.7317 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00128/0.4845, allocations: 305.2 kB / 0.732 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4845, allocations: 51.41 kB / 0.7321 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.4849, allocations: 245 kB / 0.7323 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.4849, allocations: 29.69 kB / 0.7324 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4851, allocations: 136.2 kB / 0.7325 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.4852, allocations: 47.3 kB / 0.7325 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.4853, allocations: 37.7 kB / 0.7326 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4854, allocations: 330.8 kB / 0.7329 GB, free: 408 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.4857, allocations: 67.94 kB / 0.7329 GB, free: 340 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.4861, allocations: 102.5 kB / 0.733 GB, free: 228 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.4867, allocations: 169.3 kB / 0.7332 GB, free: 52 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4867, allocations: 4 kB / 0.7332 GB, free: 48 kB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007412/0.4874, allocations: 221.3 kB / 0.7334 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4875, allocations: 7.938 kB / 0.7334 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4875, allocations: 0 / 0.7334 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4875, allocations: 4 kB / 0.7334 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.4878, allocations: 31.97 kB / 0.7335 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4878, allocations: 7.938 kB / 0.7335 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.4881, allocations: 19.83 kB / 0.7335 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.4881, allocations: 8.062 kB / 0.7335 GB, free: 15.74 MB / 0.5762 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.0001731/0.4883, allocations: 141.8 kB / 0.7336 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.4884, allocations: 23.73 kB / 0.7336 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.4885, allocations: 29.84 kB / 0.7337 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4885, allocations: 0 / 0.7337 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4885, allocations: 0 / 0.7337 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4885, allocations: 3.984 kB / 0.7337 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.49, allocations: 0.6794 MB / 0.7343 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.49, allocations: 4 kB / 0.7343 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.4903, allocations: 32.14 kB / 0.7344 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4903, allocations: 4 kB / 0.7344 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4903, allocations: 4 kB / 0.7344 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4904, allocations: 3.984 kB / 0.7344 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4904, allocations: 7.938 kB / 0.7344 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.4911, allocations: 353 kB / 0.7347 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.4913, allocations: 108.9 kB / 0.7348 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.4914, allocations: 8 kB / 0.7348 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.4917, allocations: 15.98 kB / 0.7349 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.4917, allocations: 19.86 kB / 0.7349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.4918, allocations: 8 kB / 0.7349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002469/0.492, allocations: 180.5 kB / 0.7351 GB, free: 14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.492, allocations: 0 / 0.7351 GB, free: 14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006039/0.4927, allocations: 59.91 kB / 0.7351 GB, free: 13.94 MB / 0.5762 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.00139/0.4941, allocations: 0.9501 MB / 0.736 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.4947, allocations: 175.8 kB / 0.7362 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4948, allocations: 4 kB / 0.7362 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.4951, allocations: 92.31 kB / 0.7363 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.4963, allocations: 130.3 kB / 0.7364 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.5009, allocations: 2.466 MB / 0.7388 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.5014, allocations: 0.748 MB / 0.7396 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.5018, allocations: 57.91 kB / 0.7396 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.5019, allocations: 67.41 kB / 0.7397 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.502, allocations: 8 kB / 0.7397 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.5304, allocations: 6.861 MB / 0.7464 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.761, allocations: 9.672 kB / 0.7464 GB, free: 2.387 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)