Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8155/0.8155, allocations: 143.8 MB / 159.1 MB, free: 6.512 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.000941/0.0009412, allocations: 186.3 kB / 192 MB, free: 6.734 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.468/1.468, allocations: 225.7 MB / 450.4 MB, free: 4.953 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.0007646/0.0007645, allocations: 102.7 kB / 0.5211 GB, free: 1.617 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.001639/0.001639, allocations: 279.4 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004914, allocations: 15.14 kB / 0.6948 GB, free: 59.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6008/0.7602, allocations: 159.1 MB / 0.9307 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.7711, allocations: 9.126 MB / 0.9396 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.772, allocations: 10.97 kB / 0.9396 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.7729, allocations: 129 kB / 0.9397 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.7775, allocations: 1.192 MB / 0.9409 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.7798, allocations: 0.5783 MB / 0.9414 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.7817, allocations: 1.055 MB / 0.9425 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.7823, allocations: 239.3 kB / 0.9427 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.784, allocations: 0.5254 MB / 0.9432 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.7851, allocations: 426 kB / 0.9436 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.7853, allocations: 15.53 kB / 0.9436 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/0.7885, allocations: 1.448 MB / 0.9451 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.7887, allocations: 102.8 kB / 0.9451 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.789, allocations: 189 kB / 0.9453 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.7914, allocations: 0.9807 MB / 0.9463 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.7914, allocations: 1.812 kB / 0.9463 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7914, allocations: 3.938 kB / 0.9463 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.7914, allocations: 0 / 0.9463 GB, free: 4.574 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001307/0.7928, allocations: 0.6296 MB / 0.9469 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.7928, allocations: 13.59 kB / 0.9469 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.7938, allocations: 129.8 kB / 0.947 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.7944, allocations: 328 kB / 0.9474 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.7945, allocations: 47.98 kB / 0.9474 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.7945, allocations: 32.56 kB / 0.9474 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.7954, allocations: 371.8 kB / 0.9478 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7954, allocations: 0 / 0.9478 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.7955, allocations: 13.81 kB / 0.9478 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.7955, allocations: 6.406 kB / 0.9478 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.7961, allocations: 290.1 kB / 0.9481 GB, free: 3.465 MB / 0.5573 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.002208/0.7983, allocations: 1.506 MB / 0.9496 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.7988, allocations: 203.5 kB / 0.9497 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.799, allocations: 116 kB / 0.9499 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.8001, allocations: 0.5164 MB / 0.9504 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.8001, allocations: 36.69 kB / 0.9504 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.8002, allocations: 0 / 0.9504 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0009876/0.8011, allocations: 373.5 kB / 0.9508 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.8012, allocations: 56.19 kB / 0.9508 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.8016, allocations: 310.3 kB / 0.9511 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.8016, allocations: 30.73 kB / 0.9511 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.8018, allocations: 185.9 kB / 0.9513 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.8019, allocations: 51.36 kB / 0.9514 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.8019, allocations: 3.875 kB / 0.9514 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.8021, allocations: 341.9 kB / 0.9517 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.8023, allocations: 90.22 kB / 0.9518 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.8025, allocations: 150.3 kB / 0.9519 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.803, allocations: 255.1 kB / 0.9522 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.803, allocations: 2.875 kB / 0.9522 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005959/0.8036, allocations: 293.6 kB / 0.9524 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8036, allocations: 5.688 kB / 0.9525 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8037, allocations: 0 / 0.9525 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.8037, allocations: 5.188 kB / 0.9525 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.8039, allocations: 45.59 kB / 0.9525 GB, free: 500 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.8039, allocations: 1.75 kB / 0.9525 GB, free: 500 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.8042, allocations: 50.03 kB / 0.9525 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.8043, allocations: 9.453 kB / 0.9526 GB, free: 472 kB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001761/0.8045, allocations: 154.3 kB / 0.9527 GB, free: 344 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8046, allocations: 33.47 kB / 0.9527 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.8053, allocations: 318 kB / 0.953 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8053, allocations: 2.469 kB / 0.953 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8053, allocations: 0 / 0.953 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8053, allocations: 0 / 0.953 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.8068, allocations: 0.8246 MB / 0.9538 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8069, allocations: 2.969 kB / 0.9538 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.8071, allocations: 39.5 kB / 0.9539 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.8071, allocations: 3.75 kB / 0.9539 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.8071, allocations: 16 kB / 0.9539 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8071, allocations: 3.031 kB / 0.9539 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8071, allocations: 0 / 0.9539 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.8078, allocations: 411 kB / 0.9543 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.808, allocations: 138.7 kB / 0.9544 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.8081, allocations: 10.19 kB / 0.9544 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.8083, allocations: 32.66 kB / 0.9545 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.8084, allocations: 15.61 kB / 0.9545 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.8085, allocations: 8.031 kB / 0.9545 GB, free: 15.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002483/0.8087, allocations: 232 kB / 0.9547 GB, free: 15.17 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8087, allocations: 0 / 0.9547 GB, free: 15.17 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006203/0.8093, allocations: 121.5 kB / 0.9548 GB, free: 15.15 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 (16): * Single equations (assignments): 16 * 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.0008177/0.8102, allocations: 255.6 kB / 0.9551 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.8107, allocations: 223 kB / 0.9553 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8107, allocations: 0 / 0.9553 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.811, allocations: 126 kB / 0.9554 GB, free: 14.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/0.812, allocations: 151.9 kB / 0.9556 GB, free: 14.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.8133, allocations: 0.7173 MB / 0.9563 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.8138, allocations: 0.7908 MB / 0.957 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003625/0.8142, allocations: 81.98 kB / 0.9571 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.8143, allocations: 30.69 kB / 0.9571 GB, free: 13.58 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/0.8143, allocations: 4 kB / 0.9571 GB, free: 13.57 MB / 0.573 GB Notification: Performance of Templates: time 0.01544/0.8297, allocations: 6.977 MB / 0.964 GB, free: 10.1 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)