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.001002/0.001002, allocations: 99.05 kB / 16.02 MB, free: 80 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.001262/0.001262, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.5 MB / 407.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 12 kB / 496 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1628, allocations: 77.53 MB / 0.56 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5044/0.6673, allocations: 165 MB / 0.7212 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009461/0.6768, allocations: 7.104 MB / 0.7281 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.6774, allocations: 11.94 kB / 0.7281 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.678, allocations: 139.1 kB / 0.7283 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.6817, allocations: 1.191 MB / 0.7294 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.6837, allocations: 0.5671 MB / 0.73 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.6853, allocations: 1.049 MB / 0.731 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005787/0.6859, allocations: 250 kB / 0.7312 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.6873, allocations: 0.5176 MB / 0.7317 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.6884, allocations: 430.4 kB / 0.7322 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.6885, allocations: 16 kB / 0.7322 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.6911, allocations: 1.465 MB / 0.7336 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.6913, allocations: 103.7 kB / 0.7337 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.6917, allocations: 192.8 kB / 0.7339 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.6938, allocations: 0.9776 MB / 0.7348 GB, free: 3.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6938, allocations: 0 / 0.7348 GB, free: 3.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6938, allocations: 0 / 0.7348 GB, free: 3.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.6939, allocations: 4 kB / 0.7348 GB, free: 3.641 MB / 0.545 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.001398/0.6953, allocations: 0.6281 MB / 0.7355 GB, free: 2.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6953, allocations: 8.031 kB / 0.7355 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.6955, allocations: 68.61 kB / 0.7355 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.6967, allocations: 131.3 kB / 0.7356 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.6972, allocations: 325.2 kB / 0.736 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.6973, allocations: 50.25 kB / 0.736 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.6974, allocations: 28 kB / 0.736 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.6982, allocations: 378.1 kB / 0.7364 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6982, allocations: 0 / 0.7364 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.6983, allocations: 8 kB / 0.7364 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.6983, allocations: 8 kB / 0.7364 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.6989, allocations: 290 kB / 0.7367 GB, free: 1.625 MB / 0.545 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.002131/0.701, allocations: 1.504 MB / 0.7382 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.7014, allocations: 194.6 kB / 0.7383 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.7017, allocations: 120.8 kB / 0.7385 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.7027, allocations: 0.517 MB / 0.739 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.7028, allocations: 34.56 kB / 0.739 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.7028, allocations: 3.938 kB / 0.739 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.001004/0.7038, allocations: 382.9 kB / 0.7394 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.7038, allocations: 55.41 kB / 0.7394 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.7042, allocations: 312.5 kB / 0.7397 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.7042, allocations: 29.7 kB / 0.7397 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.7044, allocations: 184 kB / 0.7399 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.7044, allocations: 55.2 kB / 0.74 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.7045, allocations: 21.7 kB / 0.74 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7046, allocations: 342.8 kB / 0.7403 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.7048, allocations: 87.92 kB / 0.7404 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.7051, allocations: 157.9 kB / 0.7406 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.7056, allocations: 257 kB / 0.7408 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7056, allocations: 0 / 0.7408 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006307/0.7062, allocations: 289.2 kB / 0.7411 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7062, allocations: 8 kB / 0.7411 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7062, allocations: 0 / 0.7411 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7063, allocations: 4 kB / 0.7411 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.7065, allocations: 48.72 kB / 0.7411 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7065, allocations: 4 kB / 0.7411 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.7068, allocations: 43.8 kB / 0.7412 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.7068, allocations: 12 kB / 0.7412 GB, free: 12.67 MB / 0.5606 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.0001919/0.707, allocations: 153.7 kB / 0.7413 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7071, allocations: 31.62 kB / 0.7414 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.7079, allocations: 328.9 kB / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7079, allocations: 0 / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7079, allocations: 0 / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7079, allocations: 0 / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.7093, allocations: 0.82 MB / 0.7425 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7093, allocations: 4.094 kB / 0.7425 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.7095, allocations: 40.55 kB / 0.7425 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7095, allocations: 7.984 kB / 0.7425 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.7095, allocations: 11.94 kB / 0.7425 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7096, allocations: 0 / 0.7425 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7096, allocations: 8 kB / 0.7425 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.7102, allocations: 417.1 kB / 0.7429 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.7104, allocations: 128.7 kB / 0.7431 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.7104, allocations: 11.92 kB / 0.7431 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.7107, allocations: 31.89 kB / 0.7431 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.7108, allocations: 15.92 kB / 0.7431 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.7108, allocations: 15.98 kB / 0.7431 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002402/0.7111, allocations: 223 kB / 0.7434 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7111, allocations: 0 / 0.7434 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005349/0.7116, allocations: 119.8 kB / 0.7435 GB, free: 10.2 MB / 0.5606 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.001442/0.7131, allocations: 1.069 MB / 0.7445 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.7136, allocations: 230.4 kB / 0.7447 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7136, allocations: 7.875 kB / 0.7447 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.7139, allocations: 120.7 kB / 0.7449 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.7149, allocations: 156.1 kB / 0.745 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.7189, allocations: 3.194 MB / 0.7481 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.7193, allocations: 0.7836 MB / 0.7489 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.7197, allocations: 90.88 kB / 0.749 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.7198, allocations: 99.41 kB / 0.7491 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.7198, allocations: 0 / 0.7491 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.7449, allocations: 9.871 MB / 0.7587 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.7452, allocations: 241.7 kB / 0.7589 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.788, allocations: 0 / 0.7589 GB, free: 10.34 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)