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.001034/0.001034, 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.001028/0.001028, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 279.2 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 97.22 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1717, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5733/0.7451, allocations: 169.4 MB / 0.8457 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008264/0.7534, allocations: 7.139 MB / 0.8527 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.754, allocations: 11.88 kB / 0.8527 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.7546, allocations: 165.4 kB / 0.8529 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.7578, allocations: 1.264 MB / 0.8541 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.7596, allocations: 0.6277 MB / 0.8547 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.7604, allocations: 0.753 MB / 0.8555 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.7608, allocations: 304.4 kB / 0.8557 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009807/0.7618, allocations: 0.5692 MB / 0.8563 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.7625, allocations: 416.3 kB / 0.8567 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.7626, allocations: 27.25 kB / 0.8567 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7645, allocations: 1.244 MB / 0.8579 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.7647, allocations: 118.9 kB / 0.8581 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.7648, allocations: 176.2 kB / 0.8582 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.766, allocations: 0.8971 MB / 0.8591 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7661, allocations: 0 / 0.8591 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7661, allocations: 0 / 0.8591 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.7661, allocations: 3.938 kB / 0.8591 GB, free: 7.078 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.0009632/0.767, allocations: 0.6957 MB / 0.8598 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7671, allocations: 11.56 kB / 0.8598 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.736e-05/0.7672, allocations: 64.91 kB / 0.8599 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.7682, allocations: 130.1 kB / 0.86 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.7686, allocations: 329.7 kB / 0.8603 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.7687, allocations: 46.45 kB / 0.8603 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.7687, allocations: 26.03 kB / 0.8604 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.7694, allocations: 379.5 kB / 0.8607 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7694, allocations: 0 / 0.8607 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.7695, allocations: 14.91 kB / 0.8607 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.7695, allocations: 7.781 kB / 0.8607 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.77, allocations: 274.5 kB / 0.861 GB, free: 5.594 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.001956/0.772, allocations: 1.495 MB / 0.8625 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.7724, allocations: 194.1 kB / 0.8627 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.7726, allocations: 114.7 kB / 0.8628 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.7737, allocations: 0.5004 MB / 0.8632 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7737, allocations: 36.62 kB / 0.8633 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.7737, allocations: 3.938 kB / 0.8633 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009505/0.7747, allocations: 360.2 kB / 0.8636 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7747, allocations: 54.41 kB / 0.8637 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.7751, allocations: 312.4 kB / 0.864 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.7751, allocations: 29.7 kB / 0.864 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.7752, allocations: 181.5 kB / 0.8642 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.7753, allocations: 63.16 kB / 0.8642 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.7754, allocations: 43.08 kB / 0.8643 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7755, allocations: 338.6 kB / 0.8646 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.7757, allocations: 81.31 kB / 0.8647 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.776, allocations: 155.4 kB / 0.8648 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.7764, allocations: 243.4 kB / 0.8651 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7764, allocations: 0 / 0.8651 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005674/0.777, allocations: 287.3 kB / 0.8653 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.777, allocations: 7.5 kB / 0.8653 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.777, allocations: 3.938 kB / 0.8653 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.777, allocations: 2.75 kB / 0.8654 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.7773, allocations: 44.48 kB / 0.8654 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7773, allocations: 2.812 kB / 0.8654 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.7775, allocations: 29.52 kB / 0.8654 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.7775, allocations: 14.11 kB / 0.8654 GB, free: 1.941 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.0001545/0.7777, allocations: 152 kB / 0.8656 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7778, allocations: 32.34 kB / 0.8656 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.7785, allocations: 316.5 kB / 0.8659 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7785, allocations: 10.69 kB / 0.8659 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7786, allocations: 0 / 0.8659 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7786, allocations: 0 / 0.8659 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.7798, allocations: 0.8077 MB / 0.8667 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7799, allocations: 2.75 kB / 0.8667 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.78, allocations: 37.59 kB / 0.8668 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.78, allocations: 2.094 kB / 0.8668 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.7801, allocations: 16.91 kB / 0.8668 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7801, allocations: 4.719 kB / 0.8668 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7801, allocations: 6.938 kB / 0.8668 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.7807, allocations: 396.3 kB / 0.8672 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.7808, allocations: 132.8 kB / 0.8673 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.7809, allocations: 10.06 kB / 0.8673 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.7811, allocations: 11.95 kB / 0.8673 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.7812, allocations: 25.36 kB / 0.8673 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.7812, allocations: 7.875 kB / 0.8673 GB, free: 464 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002184/0.7814, allocations: 226.5 kB / 0.8676 GB, free: 316 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7814, allocations: 0 / 0.8676 GB, free: 316 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005492/0.782, allocations: 128.7 kB / 0.8677 GB, free: 280 kB / 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.001444/0.7835, allocations: 1.048 MB / 0.8687 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.784, allocations: 228.9 kB / 0.8689 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.784, allocations: 0 / 0.8689 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.7843, allocations: 119 kB / 0.869 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.7852, allocations: 166.5 kB / 0.8692 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.7892, allocations: 3.059 MB / 0.8722 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.7897, allocations: 0.7855 MB / 0.8729 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.79, allocations: 84.92 kB / 0.873 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.7902, allocations: 103.2 kB / 0.8731 GB, free: 12 MB / 0.5919 GB Notification: Performance of SimCode: time 2.034e-06/0.7902, allocations: 0 / 0.8731 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.8298, allocations: 10.45 MB / 0.8833 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/8.069, allocations: 11.67 kB / 0.8833 GB, free: 6.801 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)