Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.001138/0.001138, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001125/0.001126, allocations: 191 kB / 17.2 MB, free: 5.613 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7475/0.7475, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3637, allocations: 77.94 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1997/0.5635, allocations: 169.4 MB / 0.7327 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.5746, allocations: 7.128 MB / 0.7397 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.5753, allocations: 19.88 kB / 0.7397 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.576, allocations: 162.7 kB / 0.7399 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.5799, allocations: 1.264 MB / 0.7411 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.582, allocations: 0.6323 MB / 0.7417 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5835, allocations: 0.7602 MB / 0.7425 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007315/0.5843, allocations: 306.7 kB / 0.7428 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.5861, allocations: 0.5604 MB / 0.7433 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.5873, allocations: 418.5 kB / 0.7437 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.5875, allocations: 28 kB / 0.7437 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.59, allocations: 1.243 MB / 0.7449 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.5902, allocations: 115.7 kB / 0.7451 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.5904, allocations: 179.1 kB / 0.7452 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.592, allocations: 0.8922 MB / 0.7461 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.592, allocations: 0 / 0.7461 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.724e-06/0.592, allocations: 7.938 kB / 0.7461 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.592, allocations: 0 / 0.7461 GB, free: 3.094 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.001205/0.5932, allocations: 0.6896 MB / 0.7468 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5933, allocations: 8.625 kB / 0.7468 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.5934, allocations: 66.53 kB / 0.7468 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.5948, allocations: 135.3 kB / 0.747 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.5954, allocations: 325.1 kB / 0.7473 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5955, allocations: 46.27 kB / 0.7473 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.5956, allocations: 32 kB / 0.7474 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.5966, allocations: 366.1 kB / 0.7477 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5966, allocations: 8 kB / 0.7477 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.5966, allocations: 12 kB / 0.7477 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5967, allocations: 4 kB / 0.7477 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.5975, allocations: 274 kB / 0.748 GB, free: 1.031 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.3309/0.9283, allocations: 1.489 MB / 0.7495 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.9289, allocations: 197.2 kB / 0.7496 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.9292, allocations: 117 kB / 0.7498 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.9302, allocations: 0.5005 MB / 0.7502 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.9303, allocations: 33.34 kB / 0.7503 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.9303, allocations: 0 / 0.7503 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001119/0.9314, allocations: 364 kB / 0.7506 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.9314, allocations: 54.94 kB / 0.7507 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.9318, allocations: 315.6 kB / 0.751 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.9319, allocations: 32.73 kB / 0.751 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.932, allocations: 189 kB / 0.7512 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.9321, allocations: 51.42 kB / 0.7512 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.9322, allocations: 44.47 kB / 0.7513 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.9323, allocations: 344.6 kB / 0.7516 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.9325, allocations: 86.86 kB / 0.7517 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.9328, allocations: 150.4 kB / 0.7518 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.9334, allocations: 245.9 kB / 0.7521 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9334, allocations: 2.719 kB / 0.7521 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007054/0.9341, allocations: 282.5 kB / 0.7523 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9341, allocations: 7.625 kB / 0.7523 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9341, allocations: 1.469 kB / 0.7523 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.9342, allocations: 2.688 kB / 0.7523 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.9344, allocations: 47.39 kB / 0.7524 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9344, allocations: 3.188 kB / 0.7524 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.9347, allocations: 29.28 kB / 0.7524 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.9347, allocations: 15.3 kB / 0.7524 GB, free: 171.4 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.0001663/0.9349, allocations: 154 kB / 0.7526 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.935, allocations: 29.41 kB / 0.7526 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007984/0.9358, allocations: 311.5 kB / 0.7529 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.9359, allocations: 2.219 kB / 0.7529 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9359, allocations: 0.6875 kB / 0.7529 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9359, allocations: 3.297 kB / 0.7529 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.9375, allocations: 0.8057 MB / 0.7537 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.9376, allocations: 5.5 kB / 0.7537 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.9378, allocations: 36.12 kB / 0.7537 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.9378, allocations: 5 kB / 0.7537 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.9378, allocations: 7.438 kB / 0.7538 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.9378, allocations: 8.562 kB / 0.7538 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9378, allocations: 3.344 kB / 0.7538 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.9385, allocations: 395.6 kB / 0.7541 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.9387, allocations: 139.8 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.9388, allocations: 8.5 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.9391, allocations: 21.38 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.9391, allocations: 21.23 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.9392, allocations: 11.44 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002863/0.9395, allocations: 225.6 kB / 0.7546 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9395, allocations: 0 / 0.7546 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006318/0.9401, allocations: 119.5 kB / 0.7547 GB, free: 170.1 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.001379/0.9415, allocations: 1.063 MB / 0.7557 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006039/0.9421, allocations: 227.1 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9421, allocations: 0.5 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.9424, allocations: 113.5 kB / 0.756 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.9435, allocations: 166.4 kB / 0.7562 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.9489, allocations: 3.048 MB / 0.7592 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.9492, allocations: 0.7857 MB / 0.7599 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.9497, allocations: 86.09 kB / 0.76 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.9498, allocations: 100.7 kB / 0.7601 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.9499, allocations: 0 / 0.7601 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.9938, allocations: 10.43 MB / 0.7703 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.213, allocations: 6.594 kB / 0.7703 GB, free: 162.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)