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.008032/0.008032, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.002055/0.002055, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9709/0.9709, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.00182, allocations: 75.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.413, allocations: 81.02 MB / 0.6649 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1987/0.6118, allocations: 169.4 MB / 0.8304 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00874/0.6205, allocations: 7.128 MB / 0.8373 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.6211, allocations: 11.94 kB / 0.8373 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.6216, allocations: 178.7 kB / 0.8375 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.6247, allocations: 1.264 MB / 0.8387 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.6264, allocations: 0.6198 MB / 0.8393 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009769/0.6274, allocations: 0.7641 MB / 0.8401 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.6278, allocations: 302.3 kB / 0.8404 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.629, allocations: 0.5681 MB / 0.8409 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.6298, allocations: 422.5 kB / 0.8413 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.6299, allocations: 31.94 kB / 0.8414 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.6321, allocations: 1.231 MB / 0.8426 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.6322, allocations: 127.6 kB / 0.8427 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.6324, allocations: 175.1 kB / 0.8429 GB, free: 9.957 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.6338, allocations: 0.9126 MB / 0.8437 GB, free: 9.043 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6338, allocations: 0 / 0.8437 GB, free: 9.043 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6339, allocations: 0 / 0.8437 GB, free: 9.043 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6339, allocations: 4 kB / 0.8438 GB, free: 9.039 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.00112/0.635, allocations: 0.7081 MB / 0.8444 GB, free: 8.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.635, allocations: 8.031 kB / 0.8445 GB, free: 8.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.613e-05/0.6351, allocations: 70.53 kB / 0.8445 GB, free: 8.191 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.6361, allocations: 127.6 kB / 0.8446 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.6367, allocations: 345.4 kB / 0.845 GB, free: 7.688 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.141e-05/0.6368, allocations: 54.25 kB / 0.845 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.6368, allocations: 24 kB / 0.845 GB, free: 7.605 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.6375, allocations: 366.2 kB / 0.8454 GB, free: 7.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6375, allocations: 3.938 kB / 0.8454 GB, free: 7.227 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.6375, allocations: 15.94 kB / 0.8454 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6375, allocations: 8 kB / 0.8454 GB, free: 7.203 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.6381, allocations: 274 kB / 0.8457 GB, free: 6.938 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.00211/0.6402, allocations: 1.488 MB / 0.8471 GB, free: 5.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.6406, allocations: 206.4 kB / 0.8473 GB, free: 5.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.6409, allocations: 120.8 kB / 0.8474 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.6419, allocations: 0.5053 MB / 0.8479 GB, free: 4.391 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6419, allocations: 30.56 kB / 0.848 GB, free: 4.352 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.6419, allocations: 0 / 0.848 GB, free: 4.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001009/0.643, allocations: 353.3 kB / 0.8483 GB, free: 4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.643, allocations: 59.28 kB / 0.8484 GB, free: 3.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.6434, allocations: 324.5 kB / 0.8487 GB, free: 3.605 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.6434, allocations: 25.7 kB / 0.8487 GB, free: 3.574 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.6435, allocations: 192.3 kB / 0.8489 GB, free: 3.383 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.6436, allocations: 47.53 kB / 0.8489 GB, free: 3.336 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.6437, allocations: 45.7 kB / 0.849 GB, free: 3.285 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6439, allocations: 342.8 kB / 0.8493 GB, free: 2.941 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.6441, allocations: 87.92 kB / 0.8494 GB, free: 2.855 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.6444, allocations: 153.9 kB / 0.8495 GB, free: 2.684 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.6448, allocations: 236.4 kB / 0.8498 GB, free: 2.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6449, allocations: 0 / 0.8498 GB, free: 2.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005921/0.6455, allocations: 281.4 kB / 0.85 GB, free: 2.152 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6455, allocations: 6.188 kB / 0.85 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6455, allocations: 4 kB / 0.85 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6455, allocations: 0 / 0.85 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.6457, allocations: 47.84 kB / 0.8501 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.6458, allocations: 4 kB / 0.8501 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.646, allocations: 27.83 kB / 0.8501 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.646, allocations: 15.94 kB / 0.8501 GB, free: 2.051 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.000168/0.6462, allocations: 158.7 kB / 0.8503 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6463, allocations: 35.77 kB / 0.8503 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.647, allocations: 300.3 kB / 0.8506 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.647, allocations: 4 kB / 0.8506 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.647, allocations: 7.922 kB / 0.8506 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.6471, allocations: 3.938 kB / 0.8506 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.6485, allocations: 0.8085 MB / 0.8514 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6485, allocations: 4.031 kB / 0.8514 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.6487, allocations: 43.92 kB / 0.8514 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6487, allocations: 0 / 0.8514 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.6487, allocations: 4 kB / 0.8514 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6487, allocations: 7.984 kB / 0.8515 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6487, allocations: 4 kB / 0.8515 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.6495, allocations: 408.3 kB / 0.8518 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.6497, allocations: 136.8 kB / 0.852 GB, free: 4 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.6497, allocations: 4 kB / 0.852 GB, free: 0 / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.65, allocations: 20.08 kB / 0.852 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.6501, allocations: 15.97 kB / 0.852 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.6501, allocations: 12 kB / 0.852 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002579/0.6504, allocations: 227 kB / 0.8522 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.044e-06/0.6504, allocations: 0 / 0.8522 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00067/0.651, allocations: 123.6 kB / 0.8524 GB, free: 15.61 MB / 0.6856 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.001481/0.6525, allocations: 1.067 MB / 0.8534 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.6531, allocations: 216 kB / 0.8536 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6531, allocations: 4.062 kB / 0.8536 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.6533, allocations: 119.8 kB / 0.8537 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.6542, allocations: 157.7 kB / 0.8539 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.6585, allocations: 3.058 MB / 0.8569 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.659, allocations: 0.7873 MB / 0.8576 GB, free: 10 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002891/0.6593, allocations: 86.86 kB / 0.8577 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6594, allocations: 99.39 kB / 0.8578 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of SimCode: time 2.91e-07/0.6594, allocations: 0 / 0.8578 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3772/1.037, allocations: 10.5 MB / 0.8681 GB, free: 193 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.839/10.88, allocations: 6.188 kB / 0.8681 GB, free: 193 MB / 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)