Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.748/0.748, allocations: 143.8 MB / 159.1 MB, free: 6.477 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 183.3 kB / 192 MB, free: 6.703 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 450.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008855, allocations: 103.5 kB / 0.5211 GB, free: 3.316 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 286.6 kB / 0.6025 GB, free: 49.5 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004229, allocations: 12 kB / 0.6948 GB, free: 2.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 82.45 MB / 0.7753 GB, free: 26.92 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5082/0.8639, allocations: 150.2 MB / 0.922 GB, free: 17.64 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.8661, allocations: 1.244 MB / 0.9232 GB, free: 17.23 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.8663, allocations: 9.812 kB / 0.9232 GB, free: 17.23 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.8669, allocations: 135.5 kB / 0.9234 GB, free: 17.22 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.8686, allocations: 0.5904 MB / 0.924 GB, free: 17.2 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.8692, allocations: 204.2 kB / 0.9241 GB, free: 17.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.8701, allocations: 0.7338 MB / 0.9249 GB, free: 17.18 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.8705, allocations: 155.3 kB / 0.925 GB, free: 17.16 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.8709, allocations: 216.6 kB / 0.9252 GB, free: 17.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.8711, allocations: 160.2 kB / 0.9254 GB, free: 17.16 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.8712, allocations: 7.969 kB / 0.9254 GB, free: 17.16 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.8723, allocations: 0.6291 MB / 0.926 GB, free: 17.16 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.8724, allocations: 85.7 kB / 0.9261 GB, free: 17.15 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.8726, allocations: 132 kB / 0.9262 GB, free: 17.12 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.8733, allocations: 0.5085 MB / 0.9267 GB, free: 17.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8733, allocations: 0 / 0.9267 GB, free: 17.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8733, allocations: 4.688 kB / 0.9267 GB, free: 17.09 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.8734, allocations: 2.906 kB / 0.9267 GB, free: 17.09 MB / 0.573 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.001256/0.8746, allocations: 0.5536 MB / 0.9272 GB, free: 16.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8747, allocations: 15.53 kB / 0.9273 GB, free: 16.65 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.8749, allocations: 44.38 kB / 0.9273 GB, free: 16.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.8752, allocations: 274.4 kB / 0.9276 GB, free: 16.42 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8753, allocations: 9.391 kB / 0.9276 GB, free: 16.42 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.8753, allocations: 27.42 kB / 0.9276 GB, free: 16.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.8758, allocations: 249.8 kB / 0.9278 GB, free: 16.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8758, allocations: 2.938 kB / 0.9278 GB, free: 16.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.8758, allocations: 8.719 kB / 0.9278 GB, free: 16.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/0.8759, allocations: 9.016 kB / 0.9279 GB, free: 16.37 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.8767, allocations: 256.9 kB / 0.9281 GB, free: 16.37 MB / 0.573 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.001315/0.878, allocations: 0.8419 MB / 0.9289 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.8784, allocations: 146.5 kB / 0.9291 GB, free: 15.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.8786, allocations: 115.8 kB / 0.9292 GB, free: 15.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.8789, allocations: 189.3 kB / 0.9294 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.879, allocations: 33.09 kB / 0.9294 GB, free: 15.67 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.879, allocations: 2.906 kB / 0.9294 GB, free: 15.67 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0008488/0.8798, allocations: 311.2 kB / 0.9297 GB, free: 15.62 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.8799, allocations: 57.81 kB / 0.9297 GB, free: 15.56 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.8801, allocations: 242.7 kB / 0.93 GB, free: 15.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.8802, allocations: 33.05 kB / 0.93 GB, free: 15.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.8803, allocations: 138.2 kB / 0.9301 GB, free: 15.33 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.8803, allocations: 50.34 kB / 0.9302 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.8803, allocations: 4.438 kB / 0.9302 GB, free: 15.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8805, allocations: 328.3 kB / 0.9305 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.8806, allocations: 76.19 kB / 0.9306 GB, free: 14.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.8809, allocations: 110 kB / 0.9307 GB, free: 14.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.8812, allocations: 181.2 kB / 0.9309 GB, free: 14.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8812, allocations: 1.562 kB / 0.9309 GB, free: 14.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000436/0.8817, allocations: 224 kB / 0.9311 GB, free: 14.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8817, allocations: 8.812 kB / 0.9311 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.8817, allocations: 0.8438 kB / 0.9311 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8817, allocations: 1.125 kB / 0.9311 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.8819, allocations: 34.09 kB / 0.9311 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.8819, allocations: 8.344 kB / 0.9311 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.8821, allocations: 30.27 kB / 0.9311 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.8822, allocations: 9.641 kB / 0.9312 GB, free: 14.86 MB / 0.573 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.0001358/0.8823, allocations: 150.5 kB / 0.9313 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.8824, allocations: 22.09 kB / 0.9313 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.8824, allocations: 34.47 kB / 0.9314 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.8825, allocations: 1.562 kB / 0.9314 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8825, allocations: 4.469 kB / 0.9314 GB, free: 14.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8825, allocations: 0 / 0.9314 GB, free: 14.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.8835, allocations: 0.6871 MB / 0.932 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8836, allocations: 2.812 kB / 0.932 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.8837, allocations: 36.08 kB / 0.9321 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.8837, allocations: 2.938 kB / 0.9321 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.8838, allocations: 3.094 kB / 0.9321 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.8838, allocations: 2.719 kB / 0.9321 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8838, allocations: 5.719 kB / 0.9321 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.8843, allocations: 372.8 kB / 0.9324 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.8844, allocations: 115.9 kB / 0.9325 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.8845, allocations: 6.062 kB / 0.9326 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8847, allocations: 15.92 kB / 0.9326 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.8847, allocations: 19.86 kB / 0.9326 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.8848, allocations: 6.406 kB / 0.9326 GB, free: 14.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001769/0.8849, allocations: 180 kB / 0.9328 GB, free: 13.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8849, allocations: 0 / 0.9328 GB, free: 13.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003741/0.8853, allocations: 56.88 kB / 0.9328 GB, free: 13.95 MB / 0.573 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.0003992/0.8857, allocations: 157.2 kB / 0.933 GB, free: 13.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.8862, allocations: 187.5 kB / 0.9331 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8862, allocations: 1.188 kB / 0.9331 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.8864, allocations: 101.3 kB / 0.9332 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.8872, allocations: 124.3 kB / 0.9334 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.888, allocations: 0.5172 MB / 0.9339 GB, free: 13.49 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.8884, allocations: 0.751 MB / 0.9346 GB, free: 12.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.8886, allocations: 68.52 kB / 0.9347 GB, free: 12.78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.8887, allocations: 20.81 kB / 0.9347 GB, free: 12.77 MB / 0.573 GB Notification: Performance of SimCode: time 1.403e-06/0.8887, allocations: 1.859 kB / 0.9347 GB, free: 12.77 MB / 0.573 GB Notification: Performance of Templates: time 0.007842/0.8965, allocations: 4.187 MB / 0.9388 GB, free: 12.5 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)