Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.001197/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001277, allocations: 196.5 kB / 16.14 MB, free: 6.262 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 299 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8881/0.8881, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 95.05 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4367/0.5757, allocations: 167.2 MB / 0.8428 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006499/0.5822, allocations: 7.2 MB / 0.8498 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.5826, allocations: 14.91 kB / 0.8499 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.5831, allocations: 134 kB / 0.85 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.5857, allocations: 1.19 MB / 0.8511 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.587, allocations: 0.5741 MB / 0.8517 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007999/0.5878, allocations: 1.049 MB / 0.8527 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.5881, allocations: 249.6 kB / 0.853 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.589, allocations: 0.5294 MB / 0.8535 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.5896, allocations: 440.4 kB / 0.8539 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.5897, allocations: 15.78 kB / 0.8539 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.5915, allocations: 1.468 MB / 0.8554 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5916, allocations: 107.3 kB / 0.8555 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.5918, allocations: 169.6 kB / 0.8556 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.5929, allocations: 0.9782 MB / 0.8566 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5929, allocations: 0 / 0.8566 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5929, allocations: 5.781 kB / 0.8566 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5929, allocations: 0 / 0.8566 GB, free: 8.953 MB / 0.5762 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.0009356/0.5939, allocations: 0.6947 MB / 0.8573 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5939, allocations: 10.28 kB / 0.8573 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.594, allocations: 64.59 kB / 0.8573 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.5949, allocations: 128.6 kB / 0.8575 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.5954, allocations: 329.8 kB / 0.8578 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.5954, allocations: 47.27 kB / 0.8578 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.5955, allocations: 29.41 kB / 0.8578 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.5961, allocations: 368.1 kB / 0.8582 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.5961, allocations: 1.938 kB / 0.8582 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.5961, allocations: 9.812 kB / 0.8582 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.5961, allocations: 12.06 kB / 0.8582 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.5966, allocations: 278.4 kB / 0.8585 GB, free: 7.477 MB / 0.5762 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.001688/0.5983, allocations: 1.483 MB / 0.8599 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.5987, allocations: 197.1 kB / 0.8601 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.5989, allocations: 117.6 kB / 0.8602 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.6, allocations: 0.5036 MB / 0.8607 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6, allocations: 38.56 kB / 0.8608 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.6, allocations: 0 / 0.8608 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008703/0.6009, allocations: 357.9 kB / 0.8611 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.601, allocations: 53.78 kB / 0.8612 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.6012, allocations: 312.3 kB / 0.8615 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.6013, allocations: 40.23 kB / 0.8615 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.6014, allocations: 181.4 kB / 0.8617 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.6015, allocations: 56.06 kB / 0.8617 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.6016, allocations: 43.36 kB / 0.8618 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6017, allocations: 338.5 kB / 0.8621 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.6019, allocations: 85.11 kB / 0.8622 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.6021, allocations: 151.7 kB / 0.8623 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.6025, allocations: 236.7 kB / 0.8625 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6025, allocations: 0 / 0.8625 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005264/0.603, allocations: 291.5 kB / 0.8628 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6031, allocations: 9.469 kB / 0.8628 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6031, allocations: 2.469 kB / 0.8628 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6031, allocations: 3.812 kB / 0.8628 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6033, allocations: 46.38 kB / 0.8629 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6033, allocations: 2.5 kB / 0.8629 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.6035, allocations: 31.11 kB / 0.8629 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.6036, allocations: 11.41 kB / 0.8629 GB, free: 3.828 MB / 0.5762 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.0001467/0.6037, allocations: 158.5 kB / 0.8631 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6038, allocations: 32.09 kB / 0.8631 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.6045, allocations: 309.2 kB / 0.8634 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6045, allocations: 3.156 kB / 0.8634 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6045, allocations: 0 / 0.8634 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6045, allocations: 4 kB / 0.8634 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6057, allocations: 0.8118 MB / 0.8642 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6057, allocations: 2.781 kB / 0.8642 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.6059, allocations: 32.88 kB / 0.8642 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6059, allocations: 2.469 kB / 0.8642 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6059, allocations: 13.06 kB / 0.8642 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.606, allocations: 6.688 kB / 0.8642 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.606, allocations: 8.094 kB / 0.8643 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.6065, allocations: 399.1 kB / 0.8646 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.6066, allocations: 137.6 kB / 0.8648 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.6067, allocations: 13.75 kB / 0.8648 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.6069, allocations: 16.52 kB / 0.8648 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.607, allocations: 15.33 kB / 0.8648 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.607, allocations: 11.77 kB / 0.8648 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001919/0.6072, allocations: 229.9 kB / 0.865 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6072, allocations: 0 / 0.865 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004573/0.6077, allocations: 116.7 kB / 0.8651 GB, free: 2.164 MB / 0.5762 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.001202/0.6089, allocations: 1.067 MB / 0.8662 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.6094, allocations: 211.4 kB / 0.8664 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6094, allocations: 2.469 kB / 0.8664 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.6096, allocations: 119 kB / 0.8665 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.6104, allocations: 151.6 kB / 0.8667 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.614, allocations: 3.157 MB / 0.8697 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6143, allocations: 0.786 MB / 0.8705 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.6146, allocations: 91.27 kB / 0.8706 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.6148, allocations: 103.9 kB / 0.8707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/0.6148, allocations: 0 / 0.8707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.6349, allocations: 10.03 MB / 0.8805 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.6352, allocations: 255.8 kB / 0.8807 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.521, allocations: 0 / 0.8807 GB, free: 8.629 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)