Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_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.006613/0.006614, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001664/0.001664, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8458/0.8458, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 69 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5128/0.6597, allocations: 169.4 MB / 0.8247 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009279/0.669, allocations: 7.132 MB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.6696, allocations: 11.84 kB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.6704, allocations: 172.4 kB / 0.8318 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.6738, allocations: 1.266 MB / 0.833 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6757, allocations: 0.6301 MB / 0.8337 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.6767, allocations: 0.7633 MB / 0.8344 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.6773, allocations: 283.4 kB / 0.8347 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.6786, allocations: 0.575 MB / 0.8352 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008966/0.6795, allocations: 429.2 kB / 0.8356 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.6796, allocations: 25.69 kB / 0.8357 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.6819, allocations: 1.246 MB / 0.8369 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.6821, allocations: 114.7 kB / 0.837 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.6824, allocations: 180.6 kB / 0.8372 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.6842, allocations: 0.9091 MB / 0.8381 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6842, allocations: 2.562 kB / 0.8381 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6842, allocations: 0 / 0.8381 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.6842, allocations: 4 kB / 0.8381 GB, free: 10.36 MB / 0.6075 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.001231/0.6855, allocations: 0.7044 MB / 0.8388 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6855, allocations: 10.31 kB / 0.8388 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.38e-05/0.6856, allocations: 63.91 kB / 0.8388 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6866, allocations: 133.3 kB / 0.8389 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.6872, allocations: 345.8 kB / 0.8393 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.6873, allocations: 52.91 kB / 0.8393 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.6874, allocations: 23.72 kB / 0.8394 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.688, allocations: 371.5 kB / 0.8397 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.688, allocations: 3.938 kB / 0.8397 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.6881, allocations: 10.19 kB / 0.8397 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.6881, allocations: 11.69 kB / 0.8397 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.6886, allocations: 271.1 kB / 0.84 GB, free: 8.852 MB / 0.6075 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.001952/0.6906, allocations: 1.491 MB / 0.8414 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.691, allocations: 193.9 kB / 0.8416 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6912, allocations: 117.1 kB / 0.8417 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009769/0.6922, allocations: 0.5035 MB / 0.8422 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6922, allocations: 34.56 kB / 0.8423 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.6922, allocations: 4 kB / 0.8423 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009396/0.6932, allocations: 356.7 kB / 0.8426 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6932, allocations: 58.28 kB / 0.8427 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.6936, allocations: 319.5 kB / 0.843 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.6936, allocations: 32.27 kB / 0.843 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.6938, allocations: 183.6 kB / 0.8432 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.6938, allocations: 55.22 kB / 0.8432 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.6939, allocations: 43.33 kB / 0.8433 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6941, allocations: 341.6 kB / 0.8436 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.6943, allocations: 86.58 kB / 0.8437 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.6946, allocations: 151.8 kB / 0.8438 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.695, allocations: 244 kB / 0.8441 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.695, allocations: 0 / 0.8441 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005923/0.6956, allocations: 280.8 kB / 0.8443 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6956, allocations: 4.906 kB / 0.8443 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6956, allocations: 2.812 kB / 0.8443 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6957, allocations: 6.656 kB / 0.8443 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.6959, allocations: 45.88 kB / 0.8444 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6959, allocations: 3.188 kB / 0.8444 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6961, allocations: 30.42 kB / 0.8444 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.6962, allocations: 9.984 kB / 0.8444 GB, free: 5.199 MB / 0.6075 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.000173/0.6964, allocations: 156.1 kB / 0.8446 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6965, allocations: 35.02 kB / 0.8446 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.6972, allocations: 319 kB / 0.8449 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6972, allocations: 2.344 kB / 0.8449 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6972, allocations: 0 / 0.8449 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6972, allocations: 6.578 kB / 0.8449 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.6986, allocations: 0.8051 MB / 0.8457 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6986, allocations: 2.75 kB / 0.8457 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.6988, allocations: 36.7 kB / 0.8457 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.6988, allocations: 9 kB / 0.8458 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6988, allocations: 6.906 kB / 0.8458 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6989, allocations: 2.719 kB / 0.8458 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6989, allocations: 2.125 kB / 0.8458 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.6995, allocations: 408.3 kB / 0.8462 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.6997, allocations: 136.6 kB / 0.8463 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.6997, allocations: 6.906 kB / 0.8463 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.7, allocations: 10.86 kB / 0.8463 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7, allocations: 23.7 kB / 0.8463 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.7001, allocations: 11.95 kB / 0.8463 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002199/0.7003, allocations: 226.3 kB / 0.8465 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7003, allocations: 2.125 kB / 0.8465 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004991/0.7008, allocations: 114.7 kB / 0.8467 GB, free: 3.535 MB / 0.6075 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.001432/0.7022, allocations: 1.058 MB / 0.8477 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.7028, allocations: 227 kB / 0.8479 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7028, allocations: 0 / 0.8479 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.703, allocations: 125.6 kB / 0.848 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.7039, allocations: 167.3 kB / 0.8482 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.708, allocations: 3.054 MB / 0.8512 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.7084, allocations: 0.7832 MB / 0.8519 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.7087, allocations: 83.03 kB / 0.852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.7089, allocations: 105.2 kB / 0.8521 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.7089, allocations: 0 / 0.8521 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5064/1.215, allocations: 10.51 MB / 0.8624 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.262/10.48, allocations: 6.25 kB / 0.8624 GB, free: 5.613 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)