Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_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.005149/0.005149, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001104/0.001105, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9109/0.9109, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.5852 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1824/0.5712, allocations: 169.4 MB / 0.8296 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008185/0.5794, allocations: 7.131 MB / 0.8366 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005007/0.58, allocations: 11.94 kB / 0.8366 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.5806, allocations: 178.7 kB / 0.8368 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.5838, allocations: 1.256 MB / 0.838 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.5854, allocations: 0.634 MB / 0.8386 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.5864, allocations: 0.7563 MB / 0.8394 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.5869, allocations: 286.8 kB / 0.8396 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.5883, allocations: 0.5759 MB / 0.8402 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.5892, allocations: 418.5 kB / 0.8406 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.5893, allocations: 24 kB / 0.8406 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.5914, allocations: 1.247 MB / 0.8418 GB, free: 11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.5916, allocations: 123.6 kB / 0.842 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.5918, allocations: 175.1 kB / 0.8421 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5936, allocations: 0.9039 MB / 0.843 GB, free: 9.797 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5936, allocations: 3.938 kB / 0.843 GB, free: 9.793 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5936, allocations: 0 / 0.843 GB, free: 9.793 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.5936, allocations: 0 / 0.843 GB, free: 9.793 MB / 0.67 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.001162/0.5948, allocations: 0.6935 MB / 0.8437 GB, free: 9.047 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5948, allocations: 8.031 kB / 0.8437 GB, free: 9.039 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.042e-05/0.5949, allocations: 62.53 kB / 0.8438 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5959, allocations: 135.3 kB / 0.8439 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.5965, allocations: 341.1 kB / 0.8442 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.5966, allocations: 58.23 kB / 0.8443 GB, free: 8.398 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.5967, allocations: 28 kB / 0.8443 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.5974, allocations: 366.1 kB / 0.8446 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5974, allocations: 3.938 kB / 0.8447 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.5974, allocations: 15.94 kB / 0.8447 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5974, allocations: 4 kB / 0.8447 GB, free: 7.973 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.598, allocations: 278 kB / 0.8449 GB, free: 7.703 MB / 0.67 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.001802/0.5998, allocations: 1.476 MB / 0.8464 GB, free: 6.098 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.6002, allocations: 209 kB / 0.8466 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.6004, allocations: 120.8 kB / 0.8467 GB, free: 5.766 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009173/0.6013, allocations: 0.5091 MB / 0.8472 GB, free: 5.164 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.6014, allocations: 30.56 kB / 0.8472 GB, free: 5.125 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.6014, allocations: 0 / 0.8472 GB, free: 5.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009192/0.6023, allocations: 357 kB / 0.8476 GB, free: 4.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6023, allocations: 59.41 kB / 0.8476 GB, free: 4.699 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.6027, allocations: 316.5 kB / 0.8479 GB, free: 4.383 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.6027, allocations: 25.7 kB / 0.8479 GB, free: 4.352 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.6028, allocations: 192 kB / 0.8481 GB, free: 4.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.6029, allocations: 47.25 kB / 0.8482 GB, free: 4.113 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.603, allocations: 45.7 kB / 0.8482 GB, free: 4.062 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6031, allocations: 338.8 kB / 0.8485 GB, free: 3.723 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.6033, allocations: 95.88 kB / 0.8486 GB, free: 3.629 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.6035, allocations: 149.9 kB / 0.8488 GB, free: 3.461 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.604, allocations: 240.1 kB / 0.849 GB, free: 3.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.604, allocations: 0 / 0.849 GB, free: 3.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005876/0.6046, allocations: 289.1 kB / 0.8493 GB, free: 2.918 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6046, allocations: 4 kB / 0.8493 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6046, allocations: 0 / 0.8493 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6046, allocations: 4 kB / 0.8493 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.6049, allocations: 43.91 kB / 0.8493 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6049, allocations: 4 kB / 0.8493 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.6051, allocations: 27.77 kB / 0.8494 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.6051, allocations: 11.94 kB / 0.8494 GB, free: 2.824 MB / 0.67 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.0001395/0.6053, allocations: 157.9 kB / 0.8495 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6054, allocations: 35.66 kB / 0.8496 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.6061, allocations: 312.1 kB / 0.8499 GB, free: 2.316 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6061, allocations: 7.984 kB / 0.8499 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6061, allocations: 0 / 0.8499 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6061, allocations: 3.938 kB / 0.8499 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6074, allocations: 0.8045 MB / 0.8506 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6074, allocations: 8.031 kB / 0.8507 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6076, allocations: 35.92 kB / 0.8507 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6076, allocations: 4 kB / 0.8507 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.6076, allocations: 8 kB / 0.8507 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.6076, allocations: 7.984 kB / 0.8507 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6076, allocations: 0 / 0.8507 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.6082, allocations: 412.1 kB / 0.8511 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.6084, allocations: 128.7 kB / 0.8512 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.6084, allocations: 8 kB / 0.8512 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.6087, allocations: 15.98 kB / 0.8512 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.6087, allocations: 19.91 kB / 0.8513 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.6088, allocations: 12 kB / 0.8513 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002093/0.609, allocations: 227.1 kB / 0.8515 GB, free: 0.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/0.609, allocations: 3.938 kB / 0.8515 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004917/0.6095, allocations: 123.7 kB / 0.8516 GB, free: 384 kB / 0.67 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.001302/0.6108, allocations: 1.044 MB / 0.8526 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.6113, allocations: 220 kB / 0.8528 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6113, allocations: 0 / 0.8528 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.6115, allocations: 119.7 kB / 0.853 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.6124, allocations: 168.6 kB / 0.8531 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.6164, allocations: 3.043 MB / 0.8561 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6168, allocations: 0.7834 MB / 0.8569 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002891/0.6171, allocations: 86.88 kB / 0.8569 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.6173, allocations: 103.4 kB / 0.857 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of SimCode: time 4.3e-07/0.6173, allocations: 0 / 0.857 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.6485, allocations: 10.64 MB / 0.8674 GB, free: 144 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.73, allocations: 11.41 kB / 0.8674 GB, free: 140 kB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)