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.004626/0.004626, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.00119/0.00119, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002278/0.002278, allocations: 287.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001894, allocations: 92.28 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.415, allocations: 86.98 MB / 0.7659 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1614/0.5765, allocations: 161.3 MB / 0.9234 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.5787, allocations: 0.9644 MB / 0.9244 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.5791, allocations: 7.938 kB / 0.9244 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.5798, allocations: 163 kB / 0.9245 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5816, allocations: 0.6613 MB / 0.9252 GB, free: 220 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.5824, allocations: 222.5 kB / 0.9254 GB, free: 0 / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007865/0.5832, allocations: 0.5304 MB / 0.9259 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.5836, allocations: 174 kB / 0.9261 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.5842, allocations: 235.1 kB / 0.9263 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.5844, allocations: 159.4 kB / 0.9265 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.5845, allocations: 16 kB / 0.9265 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5856, allocations: 0.5416 MB / 0.927 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.5857, allocations: 87.72 kB / 0.9271 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.5859, allocations: 111.5 kB / 0.9272 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.5869, allocations: 0.4994 MB / 0.9277 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5869, allocations: 0 / 0.9277 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5869, allocations: 0 / 0.9277 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.587, allocations: 0 / 0.9277 GB, free: 13.66 MB / 0.7012 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.001611/0.5886, allocations: 0.6034 MB / 0.9283 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5886, allocations: 12.03 kB / 0.9283 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.5887, allocations: 46.55 kB / 0.9283 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.589, allocations: 59.78 kB / 0.9284 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.5895, allocations: 291.8 kB / 0.9287 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5895, allocations: 12.33 kB / 0.9287 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.5895, allocations: 12 kB / 0.9287 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.59, allocations: 247.8 kB / 0.9289 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5901, allocations: 4 kB / 0.9289 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.5901, allocations: 4 kB / 0.9289 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5901, allocations: 11.98 kB / 0.9289 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.5907, allocations: 251.8 kB / 0.9292 GB, free: 12.03 MB / 0.7012 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.001362/0.5921, allocations: 0.8394 MB / 0.93 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.5924, allocations: 146.5 kB / 0.9301 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.5926, allocations: 112.7 kB / 0.9302 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.5929, allocations: 190.2 kB / 0.9304 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.593, allocations: 34.5 kB / 0.9305 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.593, allocations: 0 / 0.9305 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0008554/0.5938, allocations: 305.4 kB / 0.9308 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.5939, allocations: 51.41 kB / 0.9308 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5941, allocations: 245 kB / 0.931 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.5941, allocations: 25.7 kB / 0.9311 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.5942, allocations: 144.3 kB / 0.9312 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.5943, allocations: 43.58 kB / 0.9312 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.5944, allocations: 37.7 kB / 0.9313 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5945, allocations: 334.8 kB / 0.9316 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5947, allocations: 67.95 kB / 0.9317 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5949, allocations: 102.5 kB / 0.9318 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.5953, allocations: 169.2 kB / 0.9319 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5953, allocations: 3.938 kB / 0.9319 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004912/0.5958, allocations: 217.4 kB / 0.9321 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5958, allocations: 11.94 kB / 0.9321 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5958, allocations: 0 / 0.9321 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5959, allocations: 0 / 0.9321 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.5961, allocations: 35.97 kB / 0.9322 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5961, allocations: 0 / 0.9322 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.5963, allocations: 23.94 kB / 0.9322 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.5963, allocations: 8 kB / 0.9322 GB, free: 8.715 MB / 0.7012 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.0001331/0.5964, allocations: 144.2 kB / 0.9323 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.5965, allocations: 27.8 kB / 0.9324 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.5966, allocations: 33.83 kB / 0.9324 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5966, allocations: 0 / 0.9324 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5966, allocations: 0 / 0.9324 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5966, allocations: 0 / 0.9324 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5977, allocations: 0.6798 MB / 0.9331 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5977, allocations: 0 / 0.9331 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5979, allocations: 39.91 kB / 0.9331 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5979, allocations: 4 kB / 0.9331 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5979, allocations: 0 / 0.9331 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5979, allocations: 8 kB / 0.9331 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5979, allocations: 4 kB / 0.9331 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.5984, allocations: 357.2 kB / 0.9335 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5986, allocations: 112.9 kB / 0.9336 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.5986, allocations: 15.94 kB / 0.9336 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.5988, allocations: 11.98 kB / 0.9336 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.5988, allocations: 15.92 kB / 0.9336 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5989, allocations: 4 kB / 0.9336 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001559/0.599, allocations: 180.5 kB / 0.9338 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.599, allocations: 3.938 kB / 0.9338 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003688/0.5994, allocations: 59.94 kB / 0.9338 GB, free: 6.895 MB / 0.7012 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.001023/0.6004, allocations: 0.9449 MB / 0.9348 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.6009, allocations: 167.8 kB / 0.9349 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6009, allocations: 4 kB / 0.9349 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.6011, allocations: 103.9 kB / 0.935 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.6019, allocations: 118.5 kB / 0.9351 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.6049, allocations: 2.46 MB / 0.9375 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6052, allocations: 0.748 MB / 0.9383 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.6055, allocations: 65.89 kB / 0.9383 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6056, allocations: 71.34 kB / 0.9384 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of SimCode: time 3.71e-07/0.6056, allocations: 4 kB / 0.9384 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.6312, allocations: 6.937 MB / 0.9452 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/8.195, allocations: 21.62 kB / 0.9452 GB, free: 11.28 MB / 0.7169 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)