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.007953/0.007953, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001711/0.001711, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 282.6 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 100.8 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5005/0.6718, allocations: 161.3 MB / 0.9234 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.6738, allocations: 0.9601 MB / 0.9244 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.6742, allocations: 7.938 kB / 0.9244 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.6748, allocations: 163 kB / 0.9245 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.6765, allocations: 0.634 MB / 0.9252 GB, free: 76 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.6772, allocations: 216.7 kB / 0.9254 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.678, allocations: 0.5188 MB / 0.9259 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.6783, allocations: 173.5 kB / 0.926 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.6788, allocations: 243.1 kB / 0.9263 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.6791, allocations: 151.3 kB / 0.9264 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.6791, allocations: 16 kB / 0.9264 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008688/0.68, allocations: 0.5378 MB / 0.927 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.6801, allocations: 91.7 kB / 0.927 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.6803, allocations: 107.4 kB / 0.9271 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007993/0.6811, allocations: 497.6 kB / 0.9276 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6811, allocations: 0 / 0.9276 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6811, allocations: 0 / 0.9276 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.6811, allocations: 0 / 0.9276 GB, free: 13.55 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.001474/0.6826, allocations: 0.6039 MB / 0.9282 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.6826, allocations: 8.031 kB / 0.9282 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.6827, allocations: 54.53 kB / 0.9283 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.683, allocations: 47.69 kB / 0.9283 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.6834, allocations: 294.9 kB / 0.9286 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6834, allocations: 12.33 kB / 0.9286 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.6835, allocations: 12 kB / 0.9286 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.684, allocations: 255.6 kB / 0.9289 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.684, allocations: 0 / 0.9289 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.684, allocations: 8 kB / 0.9289 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.6841, allocations: 8 kB / 0.9289 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.6846, allocations: 255.8 kB / 0.9291 GB, free: 11.91 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.001459/0.6861, allocations: 0.8315 MB / 0.9299 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.6865, allocations: 150.6 kB / 0.9301 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.6867, allocations: 108.8 kB / 0.9302 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.687, allocations: 182.2 kB / 0.9304 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.687, allocations: 38.56 kB / 0.9304 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 3.556e-06/0.687, allocations: 4 kB / 0.9304 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.0008241/0.6879, allocations: 304.6 kB / 0.9307 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6879, allocations: 51.41 kB / 0.9307 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.6882, allocations: 245 kB / 0.931 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.6882, allocations: 29.7 kB / 0.931 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.6883, allocations: 140.2 kB / 0.9311 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.6883, allocations: 51.28 kB / 0.9312 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.6884, allocations: 37.7 kB / 0.9312 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6885, allocations: 330.8 kB / 0.9315 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6887, allocations: 67.95 kB / 0.9316 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.6889, allocations: 99.2 kB / 0.9317 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.6893, allocations: 170.4 kB / 0.9319 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6893, allocations: 0 / 0.9319 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004363/0.6897, allocations: 213.2 kB / 0.9321 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6898, allocations: 16 kB / 0.9321 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6898, allocations: 0 / 0.9321 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6898, allocations: 0 / 0.9321 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.69, allocations: 35.91 kB / 0.9321 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.69, allocations: 0 / 0.9321 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.6902, allocations: 20.39 kB / 0.9321 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.6902, allocations: 15.94 kB / 0.9321 GB, free: 8.609 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.0001283/0.6903, allocations: 137.8 kB / 0.9323 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.6904, allocations: 31.66 kB / 0.9323 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.6905, allocations: 33.83 kB / 0.9323 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6905, allocations: 0 / 0.9323 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6905, allocations: 0 / 0.9323 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6905, allocations: 1.312 kB / 0.9323 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.6915, allocations: 0.6795 MB / 0.933 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6915, allocations: 3.938 kB / 0.933 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.6917, allocations: 31.97 kB / 0.933 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6917, allocations: 4 kB / 0.933 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.6917, allocations: 8 kB / 0.933 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6917, allocations: 8.156 kB / 0.9331 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6917, allocations: 4 kB / 0.9331 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.6922, allocations: 360 kB / 0.9334 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6923, allocations: 120.8 kB / 0.9335 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.6924, allocations: 1.875 kB / 0.9335 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.6926, allocations: 15.98 kB / 0.9335 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.6926, allocations: 11.92 kB / 0.9335 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6926, allocations: 12 kB / 0.9336 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001493/0.6928, allocations: 180.5 kB / 0.9337 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6928, allocations: 0 / 0.9337 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003556/0.6932, allocations: 52 kB / 0.9338 GB, free: 6.801 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.001003/0.6942, allocations: 0.9385 MB / 0.9347 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.6946, allocations: 179.8 kB / 0.9349 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6946, allocations: 0 / 0.9349 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.6948, allocations: 100.5 kB / 0.935 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.6956, allocations: 128.1 kB / 0.9351 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.6986, allocations: 2.456 MB / 0.9375 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.6989, allocations: 0.7558 MB / 0.9382 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.6991, allocations: 70.09 kB / 0.9383 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6993, allocations: 63.42 kB / 0.9383 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.6993, allocations: 0 / 0.9383 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.7222, allocations: 7.017 MB / 0.9452 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.415, allocations: 21.88 kB / 0.9452 GB, free: 11.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)