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.005335/0.00534, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001122/0.001122, allocations: 195.2 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 75.86 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5822/0.7351, allocations: 169.4 MB / 0.8247 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.7433, allocations: 7.139 MB / 0.8316 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.744, allocations: 11.62 kB / 0.8316 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.7447, allocations: 169.8 kB / 0.8318 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.7487, allocations: 1.307 MB / 0.8331 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.7506, allocations: 0.6382 MB / 0.8337 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000982/0.7516, allocations: 0.7657 MB / 0.8344 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.752, allocations: 296.3 kB / 0.8347 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.7531, allocations: 0.5835 MB / 0.8353 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006945/0.7538, allocations: 427.6 kB / 0.8357 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.7538, allocations: 27.47 kB / 0.8357 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.756, allocations: 1.25 MB / 0.837 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.7562, allocations: 122.5 kB / 0.8371 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.7564, allocations: 179.8 kB / 0.8372 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.7582, allocations: 0.9059 MB / 0.8381 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7582, allocations: 2.125 kB / 0.8381 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7582, allocations: 3.094 kB / 0.8381 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7582, allocations: 1.062 kB / 0.8381 GB, free: 2.648 MB / 0.6387 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.0009331/0.7591, allocations: 0.6917 MB / 0.8388 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7592, allocations: 15.09 kB / 0.8388 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.7592, allocations: 58.55 kB / 0.8389 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.7602, allocations: 129.3 kB / 0.839 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.7607, allocations: 341.7 kB / 0.8393 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.7608, allocations: 53.89 kB / 0.8394 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.7608, allocations: 29.56 kB / 0.8394 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.7614, allocations: 365 kB / 0.8398 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7614, allocations: 3.188 kB / 0.8398 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.7614, allocations: 11.12 kB / 0.8398 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7615, allocations: 7.5 kB / 0.8398 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.7619, allocations: 270.6 kB / 0.84 GB, free: 1.742 MB / 0.6387 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.001704/0.7637, allocations: 1.484 MB / 0.8415 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.764, allocations: 194.5 kB / 0.8417 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7642, allocations: 115.4 kB / 0.8418 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/0.7652, allocations: 0.5058 MB / 0.8423 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.7652, allocations: 36.72 kB / 0.8423 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.7652, allocations: 0.875 kB / 0.8423 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.000907/0.7661, allocations: 368.1 kB / 0.8427 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.7662, allocations: 52.44 kB / 0.8427 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.7665, allocations: 315.5 kB / 0.843 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.7665, allocations: 28.17 kB / 0.843 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7666, allocations: 185.5 kB / 0.8432 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.7666, allocations: 56.02 kB / 0.8433 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.7667, allocations: 47.28 kB / 0.8433 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7669, allocations: 339 kB / 0.8436 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.7671, allocations: 88.19 kB / 0.8437 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.7673, allocations: 148.4 kB / 0.8439 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.7676, allocations: 240.4 kB / 0.8441 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7677, allocations: 0 / 0.8441 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000506/0.7682, allocations: 291.2 kB / 0.8444 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7682, allocations: 10.34 kB / 0.8444 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7682, allocations: 2.969 kB / 0.8444 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7682, allocations: 3.875 kB / 0.8444 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.7684, allocations: 39.42 kB / 0.8444 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7685, allocations: 6.406 kB / 0.8444 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.7687, allocations: 33.53 kB / 0.8445 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.7687, allocations: 12.36 kB / 0.8445 GB, free: 15.33 MB / 0.6544 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.0001454/0.7689, allocations: 153.6 kB / 0.8446 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.769, allocations: 31.31 kB / 0.8447 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.7696, allocations: 310.2 kB / 0.8449 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7696, allocations: 3.078 kB / 0.845 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7696, allocations: 2.594 kB / 0.845 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7697, allocations: 0.75 kB / 0.845 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.771, allocations: 0.8091 MB / 0.8457 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.771, allocations: 5.688 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.7712, allocations: 39.25 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.7712, allocations: 2.688 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7712, allocations: 6.031 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.7712, allocations: 3.75 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7712, allocations: 6.469 kB / 0.8458 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.7719, allocations: 405.8 kB / 0.8462 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.772, allocations: 132.8 kB / 0.8463 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.7721, allocations: 7.203 kB / 0.8463 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.7723, allocations: 18.28 kB / 0.8463 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.7724, allocations: 19.55 kB / 0.8464 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.7724, allocations: 12.89 kB / 0.8464 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002498/0.7727, allocations: 230 kB / 0.8466 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7727, allocations: 0.875 kB / 0.8466 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00069/0.7734, allocations: 122.1 kB / 0.8467 GB, free: 14.37 MB / 0.6544 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.00146/0.7749, allocations: 1.055 MB / 0.8477 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.7753, allocations: 218.7 kB / 0.848 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7754, allocations: 0.9062 kB / 0.848 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.7756, allocations: 121.8 kB / 0.8481 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.7763, allocations: 162.2 kB / 0.8482 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.7807, allocations: 3.042 MB / 0.8512 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.7812, allocations: 0.7874 MB / 0.852 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003999/0.7816, allocations: 88.14 kB / 0.852 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7818, allocations: 101.6 kB / 0.8521 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of SimCode: time 1.433e-06/0.7818, allocations: 0 / 0.8521 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.8098, allocations: 10.51 MB / 0.8624 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.645, allocations: 2.562 kB / 0.8624 GB, free: 10.47 MB / 0.6544 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)