Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.001134/0.001134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 69.78 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2162, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6212/0.8374, allocations: 169.4 MB / 0.9489 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007638/0.8451, allocations: 7.128 MB / 0.9559 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.8456, allocations: 12.88 kB / 0.9559 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.8462, allocations: 171.7 kB / 0.9561 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.8491, allocations: 1.266 MB / 0.9573 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.8506, allocations: 0.6326 MB / 0.9579 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.8514, allocations: 0.7578 MB / 0.9587 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.8518, allocations: 286.9 kB / 0.9589 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.8529, allocations: 0.5683 MB / 0.9595 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/0.8536, allocations: 421.6 kB / 0.9599 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.8537, allocations: 30.34 kB / 0.9599 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.8557, allocations: 1.244 MB / 0.9611 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.8558, allocations: 114.5 kB / 0.9613 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.856, allocations: 178 kB / 0.9614 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.8573, allocations: 0.9009 MB / 0.9623 GB, free: 84 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8573, allocations: 1.25 kB / 0.9623 GB, free: 84 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8574, allocations: 0 / 0.9623 GB, free: 84 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.8574, allocations: 0 / 0.9623 GB, free: 84 kB / 0.7169 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.0009653/0.8583, allocations: 0.6966 MB / 0.963 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.8584, allocations: 10.19 kB / 0.963 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/0.8585, allocations: 63.97 kB / 0.9631 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.8595, allocations: 126.7 kB / 0.9632 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.8599, allocations: 332.2 kB / 0.9635 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.86, allocations: 46.23 kB / 0.9635 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.8601, allocations: 28.5 kB / 0.9636 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.8607, allocations: 375.2 kB / 0.9639 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8607, allocations: 0 / 0.9639 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.8608, allocations: 14.67 kB / 0.9639 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.8608, allocations: 9.125 kB / 0.9639 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.8613, allocations: 272.1 kB / 0.9642 GB, free: 15.14 MB / 0.7325 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.001807/0.8631, allocations: 1.505 MB / 0.9657 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.8635, allocations: 192.7 kB / 0.9659 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.8637, allocations: 118.3 kB / 0.966 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.8648, allocations: 0.5003 MB / 0.9665 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.8648, allocations: 36.81 kB / 0.9665 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.8648, allocations: 4 kB / 0.9665 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009511/0.8658, allocations: 355.5 kB / 0.9668 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.8658, allocations: 53.91 kB / 0.9669 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.8661, allocations: 319.2 kB / 0.9672 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.8662, allocations: 26.77 kB / 0.9672 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8663, allocations: 190.1 kB / 0.9674 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.8663, allocations: 51.09 kB / 0.9674 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.8664, allocations: 42.77 kB / 0.9675 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8666, allocations: 340.3 kB / 0.9678 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.8668, allocations: 85.11 kB / 0.9679 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.867, allocations: 151.3 kB / 0.968 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.8674, allocations: 250.6 kB / 0.9683 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8674, allocations: 0 / 0.9683 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005717/0.868, allocations: 278.1 kB / 0.9685 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.868, allocations: 5.219 kB / 0.9685 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.868, allocations: 1.875 kB / 0.9685 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8681, allocations: 6.875 kB / 0.9686 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.8683, allocations: 45.73 kB / 0.9686 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8683, allocations: 2.188 kB / 0.9686 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.8685, allocations: 33.39 kB / 0.9686 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.8686, allocations: 12.78 kB / 0.9686 GB, free: 12.64 MB / 0.7325 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.0001501/0.8687, allocations: 156.2 kB / 0.9688 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.8689, allocations: 25.88 kB / 0.9688 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.8696, allocations: 313.2 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8696, allocations: 1.344 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8696, allocations: 1.094 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8696, allocations: 0 / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.8708, allocations: 0.8111 MB / 0.9699 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.8708, allocations: 5.328 kB / 0.9699 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.871, allocations: 35.12 kB / 0.9699 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.871, allocations: 6.891 kB / 0.97 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.871, allocations: 11.47 kB / 0.97 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8711, allocations: 5.406 kB / 0.97 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8711, allocations: 3.062 kB / 0.97 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.8717, allocations: 400.9 kB / 0.9704 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.8718, allocations: 131.1 kB / 0.9705 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.8719, allocations: 7.281 kB / 0.9705 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.8721, allocations: 15.7 kB / 0.9705 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.8722, allocations: 19.81 kB / 0.9705 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.8722, allocations: 16.52 kB / 0.9705 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002011/0.8724, allocations: 226.3 kB / 0.9708 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8724, allocations: 0 / 0.9708 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005289/0.8729, allocations: 121.4 kB / 0.9709 GB, free: 11.63 MB / 0.7325 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.001241/0.8742, allocations: 1.064 MB / 0.9719 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.8747, allocations: 224.8 kB / 0.9721 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8747, allocations: 3.938 kB / 0.9721 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.8749, allocations: 119.8 kB / 0.9722 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.8757, allocations: 153 kB / 0.9724 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.8793, allocations: 3.061 MB / 0.9754 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.8797, allocations: 0.7834 MB / 0.9761 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.88, allocations: 90.34 kB / 0.9762 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.8801, allocations: 100.9 kB / 0.9763 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8801, allocations: 0 / 0.9763 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.9067, allocations: 10.41 MB / 0.9865 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.791/10.7, allocations: 12.48 kB / 0.9865 GB, free: 3.609 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)