Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8393/0.8393, allocations: 143.8 MB / 159.1 MB, free: 6.547 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.0009528/0.000953, allocations: 183.3 kB / 192 MB, free: 6.73 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.377/1.377, allocations: 225.7 MB / 450.4 MB, free: 4.98 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.0008135/0.0008134, allocations: 99.52 kB / 0.5211 GB, free: 1.625 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.001627/0.001627, allocations: 289.2 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 14.28 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 82.46 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4308/0.5753, allocations: 157 MB / 0.9286 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008962/0.5843, allocations: 7.421 MB / 0.9359 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.585, allocations: 14.66 kB / 0.9359 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.5857, allocations: 129.4 kB / 0.936 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.5881, allocations: 0.7883 MB / 0.9368 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.5891, allocations: 291.5 kB / 0.937 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.5905, allocations: 1.011 MB / 0.938 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.591, allocations: 229 kB / 0.9383 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.5924, allocations: 0.5068 MB / 0.9387 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.593, allocations: 275.5 kB / 0.939 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.593, allocations: 12.97 kB / 0.939 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.5941, allocations: 389.1 kB / 0.9394 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.5943, allocations: 96.14 kB / 0.9395 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.5946, allocations: 173 kB / 0.9396 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.5954, allocations: 486.5 kB / 0.9401 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.5955, allocations: 3 kB / 0.9401 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5955, allocations: 0 / 0.9401 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.5955, allocations: 4 kB / 0.9401 GB, free: 7.508 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008552/0.5963, allocations: 0.553 MB / 0.9407 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5964, allocations: 9.781 kB / 0.9407 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.5967, allocations: 61.23 kB / 0.9407 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.5971, allocations: 309.3 kB / 0.941 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.5971, allocations: 22.34 kB / 0.941 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.5972, allocations: 27.53 kB / 0.9411 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.5977, allocations: 317.1 kB / 0.9414 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5977, allocations: 7.359 kB / 0.9414 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.5977, allocations: 13.5 kB / 0.9414 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.5978, allocations: 16.36 kB / 0.9414 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.5982, allocations: 205.8 kB / 0.9416 GB, free: 6.523 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.001504/0.5997, allocations: 1.544 MB / 0.9431 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.5999, allocations: 134.6 kB / 0.9432 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.6001, allocations: 90.38 kB / 0.9433 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.6007, allocations: 319.9 kB / 0.9436 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6007, allocations: 34.56 kB / 0.9437 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.6007, allocations: 0 / 0.9437 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.000714/0.6015, allocations: 291.5 kB / 0.9439 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6015, allocations: 54.09 kB / 0.944 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.6018, allocations: 306.3 kB / 0.9443 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.6018, allocations: 32.02 kB / 0.9443 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6019, allocations: 181.8 kB / 0.9445 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.602, allocations: 48.38 kB / 0.9445 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.602, allocations: 3.125 kB / 0.9445 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6021, allocations: 342.2 kB / 0.9449 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.6023, allocations: 62.67 kB / 0.9449 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.6025, allocations: 119 kB / 0.945 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.6028, allocations: 179.8 kB / 0.9452 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6028, allocations: 3.938 kB / 0.9452 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004022/0.6032, allocations: 233.2 kB / 0.9454 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6032, allocations: 7.594 kB / 0.9454 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6032, allocations: 3.375 kB / 0.9454 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6033, allocations: 3.406 kB / 0.9454 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6034, allocations: 30.89 kB / 0.9455 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6035, allocations: 3.656 kB / 0.9455 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6037, allocations: 39.31 kB / 0.9455 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.6037, allocations: 11.66 kB / 0.9455 GB, free: 3.711 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001328/0.6039, allocations: 155.1 kB / 0.9457 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.6039, allocations: 28.91 kB / 0.9457 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.6044, allocations: 220.4 kB / 0.9459 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6044, allocations: 1.375 kB / 0.9459 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6044, allocations: 1.406 kB / 0.9459 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6044, allocations: 0 / 0.9459 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009923/0.6054, allocations: 0.6989 MB / 0.9466 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6054, allocations: 1.531 kB / 0.9466 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6055, allocations: 33.64 kB / 0.9466 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6056, allocations: 2.812 kB / 0.9466 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6056, allocations: 2.312 kB / 0.9466 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.6056, allocations: 12.67 kB / 0.9467 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6056, allocations: 2.469 kB / 0.9467 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.606, allocations: 350.8 kB / 0.947 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6061, allocations: 118.3 kB / 0.9471 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.6062, allocations: 10.08 kB / 0.9471 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.6064, allocations: 20.55 kB / 0.9471 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.6064, allocations: 17.86 kB / 0.9471 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6065, allocations: 5.156 kB / 0.9472 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001969/0.6067, allocations: 217.9 kB / 0.9474 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.42e-07/0.6067, allocations: 0 / 0.9474 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003499/0.607, allocations: 82.06 kB / 0.9474 GB, free: 2.504 MB / 0.5573 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 (13): * Single equations (assignments): 13 * 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.0003521/0.6074, allocations: 171.6 kB / 0.9476 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.6078, allocations: 171.1 kB / 0.9478 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6078, allocations: 0 / 0.9478 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.608, allocations: 87.69 kB / 0.9478 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.6088, allocations: 145.5 kB / 0.948 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.6097, allocations: 0.642 MB / 0.9486 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.61, allocations: 0.7831 MB / 0.9494 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000218/0.6102, allocations: 72.75 kB / 0.9494 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.6103, allocations: 20.5 kB / 0.9495 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of SimCode: time 4.21e-07/0.6103, allocations: 3.312 kB / 0.9495 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of Templates: time 0.009216/0.6195, allocations: 4.863 MB / 0.9542 GB, free: 14.71 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)