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.001269/0.001269, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001261/0.001261, allocations: 189.5 kB / 16.9 MB, free: 6.195 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6709/0.6709, allocations: 115.3 MB / 406.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 493.2 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1518/0.4608, allocations: 167.2 MB / 0.7193 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007261/0.4681, allocations: 7.084 MB / 0.7262 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.4685, allocations: 11.94 kB / 0.7262 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.469, allocations: 139.1 kB / 0.7263 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.4718, allocations: 1.187 MB / 0.7275 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4734, allocations: 0.5878 MB / 0.7281 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.4744, allocations: 0.764 MB / 0.7288 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.4749, allocations: 270.8 kB / 0.7291 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.4761, allocations: 0.576 MB / 0.7296 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.4769, allocations: 442.5 kB / 0.73 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.4769, allocations: 24 kB / 0.7301 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.479, allocations: 1.313 MB / 0.7313 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4791, allocations: 115.6 kB / 0.7315 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.4793, allocations: 175.1 kB / 0.7316 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.4808, allocations: 0.9816 MB / 0.7326 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4808, allocations: 0 / 0.7326 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4809, allocations: 0 / 0.7326 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.4809, allocations: 0 / 0.7326 GB, free: 15.24 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.0009851/0.4819, allocations: 0.6935 MB / 0.7333 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4819, allocations: 12.03 kB / 0.7333 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.482, allocations: 62.48 kB / 0.7333 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.483, allocations: 131.3 kB / 0.7335 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.4834, allocations: 325.2 kB / 0.7338 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.4835, allocations: 50.27 kB / 0.7338 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.4835, allocations: 24 kB / 0.7338 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.4842, allocations: 370.1 kB / 0.7342 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4842, allocations: 4 kB / 0.7342 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.4842, allocations: 8 kB / 0.7342 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4843, allocations: 8 kB / 0.7342 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.4848, allocations: 274 kB / 0.7345 GB, free: 13.18 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.001733/0.4865, allocations: 1.492 MB / 0.7359 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.4869, allocations: 194.6 kB / 0.7361 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.4871, allocations: 119.2 kB / 0.7362 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/0.4881, allocations: 0.5014 MB / 0.7367 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4881, allocations: 38.5 kB / 0.7368 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4881, allocations: 0 / 0.7368 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008913/0.489, allocations: 357.1 kB / 0.7371 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.4891, allocations: 55.41 kB / 0.7371 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4893, allocations: 316.5 kB / 0.7374 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4894, allocations: 25.7 kB / 0.7375 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4895, allocations: 188 kB / 0.7377 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.4895, allocations: 51.2 kB / 0.7377 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.4896, allocations: 45.7 kB / 0.7377 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4898, allocations: 346.7 kB / 0.7381 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.49, allocations: 83.94 kB / 0.7382 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4902, allocations: 158.6 kB / 0.7383 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.4906, allocations: 233.8 kB / 0.7385 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4906, allocations: 4 kB / 0.7385 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005531/0.4912, allocations: 285 kB / 0.7388 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4912, allocations: 9.562 kB / 0.7388 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4912, allocations: 0 / 0.7388 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4912, allocations: 4 kB / 0.7388 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.4915, allocations: 48.16 kB / 0.7389 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4915, allocations: 7.875 kB / 0.7389 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4917, allocations: 43.66 kB / 0.7389 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.4918, allocations: 8 kB / 0.7389 GB, free: 8.285 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.0001396/0.4919, allocations: 153.8 kB / 0.7391 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.492, allocations: 23.72 kB / 0.7391 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.4927, allocations: 318.3 kB / 0.7394 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4927, allocations: 0 / 0.7394 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4927, allocations: 0 / 0.7394 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4927, allocations: 3.938 kB / 0.7394 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4939, allocations: 0.8044 MB / 0.7402 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4939, allocations: 0 / 0.7402 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4941, allocations: 44.19 kB / 0.7402 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4941, allocations: 7.938 kB / 0.7402 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4941, allocations: 4 kB / 0.7402 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4941, allocations: 4 kB / 0.7402 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4942, allocations: 3.938 kB / 0.7402 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.4947, allocations: 403.5 kB / 0.7406 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4948, allocations: 132.7 kB / 0.7408 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.4949, allocations: 11.94 kB / 0.7408 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.4951, allocations: 27.97 kB / 0.7408 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4952, allocations: 11.98 kB / 0.7408 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.4952, allocations: 12 kB / 0.7408 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001851/0.4954, allocations: 227 kB / 0.741 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4954, allocations: 0 / 0.741 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004689/0.4959, allocations: 123.8 kB / 0.7412 GB, free: 5.852 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.001182/0.4971, allocations: 1.08 MB / 0.7422 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.4976, allocations: 222.8 kB / 0.7424 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4976, allocations: 0 / 0.7424 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4978, allocations: 115.8 kB / 0.7425 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.4986, allocations: 153.7 kB / 0.7427 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.5024, allocations: 3.159 MB / 0.7458 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5027, allocations: 0.7872 MB / 0.7465 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003013/0.503, allocations: 89.27 kB / 0.7466 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1926/0.6956, allocations: 96.58 kB / 0.7467 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.243e-06/0.6957, allocations: 0.5938 kB / 0.7467 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.7211, allocations: 10.25 MB / 0.7567 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.7213, allocations: 234.1 kB / 0.7569 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.638, allocations: 0 / 0.7569 GB, free: 174.2 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)