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.0008089/0.0008087, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008856/0.0008855, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7804/0.7804, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.438, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1759/0.614, allocations: 154 MB / 0.7335 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.6213, allocations: 6.636 MB / 0.74 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.6218, allocations: 11.88 kB / 0.74 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.6222, allocations: 123.1 kB / 0.7401 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.6242, allocations: 0.8359 MB / 0.7409 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.6255, allocations: 487 kB / 0.7414 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008508/0.6263, allocations: 0.8964 MB / 0.7423 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.6267, allocations: 217.3 kB / 0.7425 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.6276, allocations: 474 kB / 0.7429 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.6283, allocations: 402.6 kB / 0.7433 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.6284, allocations: 16 kB / 0.7433 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6298, allocations: 0.6391 MB / 0.7439 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.6299, allocations: 103.7 kB / 0.744 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.63, allocations: 93.52 kB / 0.7441 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.6306, allocations: 0.5183 MB / 0.7446 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6306, allocations: 0 / 0.7446 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6306, allocations: 0 / 0.7446 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6306, allocations: 0 / 0.7446 GB, free: 10.81 MB / 0.5762 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.0009183/0.6316, allocations: 0.6351 MB / 0.7453 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6316, allocations: 8.031 kB / 0.7453 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.6317, allocations: 62.55 kB / 0.7453 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008704/0.6326, allocations: 131.4 kB / 0.7454 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.633, allocations: 309.4 kB / 0.7457 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.6331, allocations: 54.25 kB / 0.7458 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.6331, allocations: 24 kB / 0.7458 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.6337, allocations: 382.1 kB / 0.7462 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6337, allocations: 3.938 kB / 0.7462 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.6338, allocations: 8 kB / 0.7462 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6338, allocations: 8 kB / 0.7462 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.6343, allocations: 282 kB / 0.7465 GB, free: 8.809 MB / 0.5762 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.001748/0.636, allocations: 1.504 MB / 0.7479 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.6364, allocations: 198.6 kB / 0.7481 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.6366, allocations: 124.8 kB / 0.7482 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008874/0.6375, allocations: 0.5209 MB / 0.7488 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6376, allocations: 38.5 kB / 0.7488 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.6376, allocations: 0 / 0.7488 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000935/0.6385, allocations: 384.3 kB / 0.7492 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.6386, allocations: 55.41 kB / 0.7492 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.6389, allocations: 308.5 kB / 0.7495 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6389, allocations: 29.7 kB / 0.7495 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.639, allocations: 180.1 kB / 0.7497 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.6391, allocations: 55.28 kB / 0.7498 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.6391, allocations: 8 kB / 0.7498 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6392, allocations: 342.8 kB / 0.7501 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.6394, allocations: 83.94 kB / 0.7502 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6397, allocations: 155.3 kB / 0.7503 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.6399, allocations: 107 kB / 0.7504 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6399, allocations: 4 kB / 0.7504 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005394/0.6404, allocations: 289 kB / 0.7507 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6404, allocations: 4.188 kB / 0.7507 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6405, allocations: 8 kB / 0.7507 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6405, allocations: 4 kB / 0.7507 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.6407, allocations: 43.91 kB / 0.7508 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6407, allocations: 7.953 kB / 0.7508 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.6409, allocations: 43.66 kB / 0.7508 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.641, allocations: 12 kB / 0.7508 GB, free: 4.043 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.6412, allocations: 155.3 kB / 0.751 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.6413, allocations: 23.72 kB / 0.751 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.642, allocations: 324.1 kB / 0.7513 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.642, allocations: 4 kB / 0.7513 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.642, allocations: 0 / 0.7513 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.642, allocations: 3.953 kB / 0.7513 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6432, allocations: 0.8122 MB / 0.7521 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6432, allocations: 0 / 0.7521 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6434, allocations: 52.08 kB / 0.7522 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6434, allocations: 4 kB / 0.7522 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.6435, allocations: 4 kB / 0.7522 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6435, allocations: 4 kB / 0.7522 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6435, allocations: 0 / 0.7522 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.644, allocations: 421 kB / 0.7526 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.6442, allocations: 140.6 kB / 0.7527 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.6442, allocations: 3.953 kB / 0.7527 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.6445, allocations: 31.97 kB / 0.7527 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.6445, allocations: 19.92 kB / 0.7528 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.6446, allocations: 16 kB / 0.7528 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002155/0.6448, allocations: 223 kB / 0.753 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6448, allocations: 0 / 0.753 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004618/0.6453, allocations: 111.8 kB / 0.7531 GB, free: 1.574 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.6465, allocations: 1.058 MB / 0.7541 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.6469, allocations: 224 kB / 0.7543 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.647, allocations: 0 / 0.7543 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.6472, allocations: 119.8 kB / 0.7544 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008347/0.648, allocations: 157 kB / 0.7546 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.6506, allocations: 1.844 MB / 0.7564 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.651, allocations: 0.7915 MB / 0.7572 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003389/0.6513, allocations: 82.86 kB / 0.7573 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.6515, allocations: 99.41 kB / 0.7573 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.6515, allocations: 0 / 0.7573 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.6724, allocations: 9.821 MB / 0.7669 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.6726, allocations: 212 kB / 0.7671 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.612, allocations: 3 kB / 0.7671 GB, free: 3.246 MB / 0.5919 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/linux/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) Environment - environmentSimulation: