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.006353/0.006353, allocations: 95.92 kB / 15.73 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.001428/0.001428, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9364/0.9364, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 81.02 MB / 0.6649 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1985/0.618, allocations: 169.4 MB / 0.8303 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6282, allocations: 7.141 MB / 0.8373 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005407/0.6288, allocations: 11.94 kB / 0.8373 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.6295, allocations: 162.8 kB / 0.8375 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.6331, allocations: 1.268 MB / 0.8387 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.635, allocations: 0.632 MB / 0.8393 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.6362, allocations: 0.7602 MB / 0.8401 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.6368, allocations: 298.3 kB / 0.8404 GB, free: 12.56 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.6381, allocations: 0.5642 MB / 0.8409 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.6392, allocations: 422.5 kB / 0.8413 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-05/0.6393, allocations: 24 kB / 0.8413 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.6416, allocations: 1.243 MB / 0.8426 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.6418, allocations: 127.5 kB / 0.8427 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.642, allocations: 171.2 kB / 0.8428 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.6439, allocations: 0.9165 MB / 0.8437 GB, free: 9.098 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6439, allocations: 0 / 0.8437 GB, free: 9.098 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6439, allocations: 0 / 0.8437 GB, free: 9.098 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6439, allocations: 0 / 0.8437 GB, free: 9.098 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.00121/0.6451, allocations: 0.7158 MB / 0.8444 GB, free: 8.328 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.6452, allocations: 12.03 kB / 0.8445 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.6452, allocations: 62.55 kB / 0.8445 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6463, allocations: 127.6 kB / 0.8446 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.6469, allocations: 345.3 kB / 0.845 GB, free: 7.742 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/0.647, allocations: 50.27 kB / 0.845 GB, free: 7.688 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.647, allocations: 28 kB / 0.845 GB, free: 7.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.6477, allocations: 366.2 kB / 0.8454 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6477, allocations: 7.922 kB / 0.8454 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.6478, allocations: 19.88 kB / 0.8454 GB, free: 7.258 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.6478, allocations: 12 kB / 0.8454 GB, free: 7.246 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.6483, allocations: 266 kB / 0.8457 GB, free: 6.988 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.002053/0.6504, allocations: 1.488 MB / 0.8471 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.6508, allocations: 198.5 kB / 0.8473 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.6511, allocations: 120.8 kB / 0.8474 GB, free: 5.047 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.6522, allocations: 0.5053 MB / 0.8479 GB, free: 4.449 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6522, allocations: 30.56 kB / 0.848 GB, free: 4.41 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.6522, allocations: 0 / 0.848 GB, free: 4.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001046/0.6533, allocations: 368.2 kB / 0.8483 GB, free: 4.047 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.6533, allocations: 55.34 kB / 0.8484 GB, free: 3.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.6537, allocations: 316.5 kB / 0.8487 GB, free: 3.664 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.6538, allocations: 29.7 kB / 0.8487 GB, free: 3.629 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.6539, allocations: 184.3 kB / 0.8489 GB, free: 3.445 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.654, allocations: 55.52 kB / 0.8489 GB, free: 3.391 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.6541, allocations: 45.7 kB / 0.849 GB, free: 3.34 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6543, allocations: 346.7 kB / 0.8493 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.6545, allocations: 83.94 kB / 0.8494 GB, free: 2.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.6548, allocations: 149.9 kB / 0.8495 GB, free: 2.742 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.6553, allocations: 233.8 kB / 0.8497 GB, free: 2.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6553, allocations: 0 / 0.8497 GB, free: 2.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006279/0.6559, allocations: 281.3 kB / 0.85 GB, free: 2.211 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6559, allocations: 4 kB / 0.85 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.656, allocations: 4 kB / 0.85 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.656, allocations: 0 / 0.85 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.6562, allocations: 47.91 kB / 0.8501 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.6562, allocations: 4 kB / 0.8501 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.6564, allocations: 28.02 kB / 0.8501 GB, free: 2.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.6565, allocations: 19.94 kB / 0.8501 GB, free: 2.105 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.000172/0.6567, allocations: 149.7 kB / 0.8503 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6568, allocations: 39.75 kB / 0.8503 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.6575, allocations: 304.2 kB / 0.8506 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6575, allocations: 7.984 kB / 0.8506 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6575, allocations: 7.984 kB / 0.8506 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6575, allocations: 3.938 kB / 0.8506 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.6589, allocations: 0.8122 MB / 0.8514 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6589, allocations: 0 / 0.8514 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.6591, allocations: 35.92 kB / 0.8514 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6591, allocations: 0 / 0.8514 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.6591, allocations: 15.98 kB / 0.8514 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.6592, allocations: 4 kB / 0.8514 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6592, allocations: 4 kB / 0.8515 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.6598, allocations: 405.3 kB / 0.8518 GB, free: 212 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.66, allocations: 136.8 kB / 0.852 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.66, allocations: 7.984 kB / 0.852 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6603, allocations: 15.98 kB / 0.852 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.6603, allocations: 11.98 kB / 0.852 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.6604, allocations: 12 kB / 0.852 GB, free: 8 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002578/0.6606, allocations: 223.2 kB / 0.8522 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6606, allocations: 11.94 kB / 0.8522 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005017/0.6611, allocations: 123.7 kB / 0.8524 GB, free: 15.66 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.001471/0.6626, allocations: 1.06 MB / 0.8534 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005392/0.6632, allocations: 223.8 kB / 0.8536 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6632, allocations: 0 / 0.8536 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.6634, allocations: 119.8 kB / 0.8537 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.6643, allocations: 167.2 kB / 0.8539 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.6687, allocations: 3.051 MB / 0.8569 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.6692, allocations: 0.7834 MB / 0.8576 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00028/0.6695, allocations: 82.88 kB / 0.8577 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.6696, allocations: 103.4 kB / 0.8578 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.6697, allocations: 0 / 0.8578 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/1.014, allocations: 10.5 MB / 0.8681 GB, free: 193 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/9.248, allocations: 7.781 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)