Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_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.005509/0.005509, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001277/0.001277, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002629/0.002629, allocations: 282 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 96.3 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1673, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5097/0.677, allocations: 161.3 MB / 0.9234 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.679, allocations: 0.9631 MB / 0.9244 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.6792, allocations: 7.938 kB / 0.9244 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.6798, allocations: 163 kB / 0.9245 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.6813, allocations: 0.634 MB / 0.9252 GB, free: 40 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.6819, allocations: 222.7 kB / 0.9254 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.6826, allocations: 0.5148 MB / 0.9259 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.683, allocations: 177.5 kB / 0.926 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.6834, allocations: 231.1 kB / 0.9263 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.6837, allocations: 159.3 kB / 0.9264 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.6837, allocations: 16 kB / 0.9264 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.6847, allocations: 0.5416 MB / 0.927 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.6848, allocations: 83.78 kB / 0.927 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.6849, allocations: 111.4 kB / 0.9271 GB, free: 14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.6857, allocations: 0.4883 MB / 0.9276 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6857, allocations: 3.984 kB / 0.9276 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6857, allocations: 0 / 0.9276 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6857, allocations: 0 / 0.9276 GB, free: 13.52 MB / 0.6856 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.001458/0.6872, allocations: 0.6034 MB / 0.9282 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6872, allocations: 8.031 kB / 0.9282 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.6873, allocations: 50.55 kB / 0.9283 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.6876, allocations: 59.77 kB / 0.9283 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.688, allocations: 287.1 kB / 0.9286 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.6881, allocations: 12.33 kB / 0.9286 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6881, allocations: 19.94 kB / 0.9286 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.6887, allocations: 243.8 kB / 0.9289 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6887, allocations: 0 / 0.9289 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6887, allocations: 15.88 kB / 0.9289 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.6888, allocations: 8 kB / 0.9289 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.6894, allocations: 251.8 kB / 0.9291 GB, free: 11.88 MB / 0.6856 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.001318/0.6907, allocations: 0.8433 MB / 0.93 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.6911, allocations: 150.5 kB / 0.9301 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.6913, allocations: 112.8 kB / 0.9302 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.6916, allocations: 182.2 kB / 0.9304 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6916, allocations: 38.56 kB / 0.9304 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.6916, allocations: 0 / 0.9304 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.0008812/0.6925, allocations: 304.1 kB / 0.9307 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.6926, allocations: 51.41 kB / 0.9308 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.6929, allocations: 248.9 kB / 0.931 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.6929, allocations: 29.7 kB / 0.931 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.693, allocations: 136.3 kB / 0.9311 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.6931, allocations: 51.58 kB / 0.9312 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.6932, allocations: 33.7 kB / 0.9312 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6933, allocations: 334.8 kB / 0.9315 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.6935, allocations: 67.95 kB / 0.9316 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.6938, allocations: 98.5 kB / 0.9317 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.6942, allocations: 170.4 kB / 0.9319 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6942, allocations: 0 / 0.9319 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004828/0.6947, allocations: 224.1 kB / 0.9321 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6947, allocations: 9.969 kB / 0.9321 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6947, allocations: 0 / 0.9321 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6947, allocations: 0 / 0.9321 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.6949, allocations: 31.97 kB / 0.9321 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6949, allocations: 4.062 kB / 0.9321 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6951, allocations: 23.88 kB / 0.9321 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6951, allocations: 8.562 kB / 0.9322 GB, free: 8.562 MB / 0.6856 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.0001519/0.6953, allocations: 145.7 kB / 0.9323 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.6954, allocations: 27.73 kB / 0.9323 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.966e-05/0.6954, allocations: 33.83 kB / 0.9324 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6954, allocations: 0 / 0.9324 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6955, allocations: 0 / 0.9324 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6955, allocations: 0 / 0.9324 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.6966, allocations: 0.6911 MB / 0.933 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6966, allocations: 4 kB / 0.933 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.6968, allocations: 31.91 kB / 0.9331 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6968, allocations: 7.938 kB / 0.9331 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.6968, allocations: 8 kB / 0.9331 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6968, allocations: 0 / 0.9331 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6968, allocations: 4 kB / 0.9331 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.6974, allocations: 353.3 kB / 0.9334 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6975, allocations: 117 kB / 0.9335 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.6975, allocations: 6.375 kB / 0.9335 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.6977, allocations: 11.98 kB / 0.9335 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.6978, allocations: 15.92 kB / 0.9336 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6978, allocations: 11.94 kB / 0.9336 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001799/0.698, allocations: 180.5 kB / 0.9337 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.698, allocations: 0 / 0.9337 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003456/0.6983, allocations: 55.94 kB / 0.9338 GB, free: 6.746 MB / 0.6856 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.001193/0.6995, allocations: 0.945 MB / 0.9347 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.7, allocations: 178.3 kB / 0.9349 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7001, allocations: 0 / 0.9349 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.7003, allocations: 96 kB / 0.935 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.7011, allocations: 129.7 kB / 0.9351 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.7045, allocations: 2.467 MB / 0.9375 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.705, allocations: 0.7518 MB / 0.9383 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.7052, allocations: 65.89 kB / 0.9383 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.7053, allocations: 63.42 kB / 0.9384 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.7053, allocations: 4 kB / 0.9384 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.7359, allocations: 6.939 MB / 0.9452 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.685, allocations: 13.47 kB / 0.9452 GB, free: 11.13 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)