Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.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: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 107.1 kB / 16.41 MB, free: 6.516 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.001592/0.001592, allocations: 184.2 kB / 17.34 MB, free: 5.738 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.2 MB / 426.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 67.55 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.198, allocations: 80.94 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.6682/0.8662, allocations: 185.5 MB / 0.8465 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.8769, allocations: 6.991 MB / 0.8534 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.8782, allocations: 24.91 kB / 0.8534 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.8796, allocations: 412.9 kB / 0.8538 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.8837, allocations: 1.507 MB / 0.8553 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.8871, allocations: 1.175 MB / 0.8564 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.89, allocations: 1.952 MB / 0.8583 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009695/0.8909, allocations: 0.5577 MB / 0.8589 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.8928, allocations: 0.8434 MB / 0.8597 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.8942, allocations: 0.5925 MB / 0.8603 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.8943, allocations: 68.41 kB / 0.8603 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.8981, allocations: 1.942 MB / 0.8622 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.8985, allocations: 307 kB / 0.8625 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006287/0.8991, allocations: 422.1 kB / 0.8629 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.9027, allocations: 1.779 MB / 0.8647 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9027, allocations: 0 / 0.8647 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9027, allocations: 0 / 0.8647 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.9027, allocations: 3.938 kB / 0.8647 GB, free: 3.148 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002069/0.9048, allocations: 1.186 MB / 0.8658 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.9049, allocations: 13.11 kB / 0.8658 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.9068, allocations: 275.2 kB / 0.8661 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.9079, allocations: 0.6187 MB / 0.8667 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.908, allocations: 41.31 kB / 0.8667 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.9081, allocations: 56 kB / 0.8668 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9093, allocations: 0.6362 MB / 0.8674 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9093, allocations: 3.938 kB / 0.8674 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.9093, allocations: 20 kB / 0.8674 GB, free: 200 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.9094, allocations: 25.23 kB / 0.8675 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.9104, allocations: 0.5127 MB / 0.868 GB, free: 15.65 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.00348/0.9139, allocations: 2.461 MB / 0.8704 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.9146, allocations: 351.7 kB / 0.8707 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.915, allocations: 220.6 kB / 0.8709 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006115/0.9156, allocations: 311.5 kB / 0.8712 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.9156, allocations: 38.89 kB / 0.8712 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/0.9156, allocations: 0 / 0.8712 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001533/0.9172, allocations: 0.6161 MB / 0.8718 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.9172, allocations: 59.34 kB / 0.8719 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.9179, allocations: 0.495 MB / 0.8724 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.9179, allocations: 29.7 kB / 0.8724 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.9182, allocations: 337 kB / 0.8727 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.9184, allocations: 142.8 kB / 0.8729 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.9186, allocations: 94.06 kB / 0.873 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.9188, allocations: 366.8 kB / 0.8733 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.9191, allocations: 178.5 kB / 0.8735 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.9196, allocations: 288.3 kB / 0.8738 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.9204, allocations: 456.2 kB / 0.8742 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9204, allocations: 0 / 0.8742 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001029/0.9215, allocations: 0.5243 MB / 0.8747 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.9215, allocations: 9.719 kB / 0.8747 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9215, allocations: 3.984 kB / 0.8747 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.9215, allocations: 4 kB / 0.8747 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.9223, allocations: 137.2 kB / 0.8749 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004826/0.9228, allocations: 0.6017 MB / 0.8754 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.9233, allocations: 58.42 kB / 0.8755 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.9233, allocations: 12 kB / 0.8755 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006216/0.924, allocations: 360.8 kB / 0.8759 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004549/0.9244, allocations: 280.4 kB / 0.8761 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007537/0.9252, allocations: 452.6 kB / 0.8765 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.9252, allocations: 3.938 kB / 0.8766 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001027/0.9262, allocations: 0.5242 MB / 0.8771 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9262, allocations: 7.984 kB / 0.8771 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9262, allocations: 4.281 kB / 0.8771 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.9262, allocations: 8 kB / 0.8771 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.9267, allocations: 115.9 kB / 0.8772 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9267, allocations: 9.5 kB / 0.8772 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.9272, allocations: 39.83 kB / 0.8772 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.9273, allocations: 12 kB / 0.8773 GB, free: 5.617 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.9275, allocations: 216.5 kB / 0.8775 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.9276, allocations: 63.56 kB / 0.8775 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.9286, allocations: 486.6 kB / 0.878 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.9286, allocations: 4 kB / 0.878 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9286, allocations: 0 / 0.878 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008915/0.9295, allocations: 0.6988 MB / 0.8787 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.9317, allocations: 1.286 MB / 0.8799 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9317, allocations: 4.031 kB / 0.8799 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.9323, allocations: 119.8 kB / 0.88 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.9323, allocations: 4 kB / 0.88 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.9324, allocations: 19.94 kB / 0.8801 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003841/0.9328, allocations: 0.5946 MB / 0.8806 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9328, allocations: 0 / 0.8806 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.9341, allocations: 0.8299 MB / 0.8815 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.9344, allocations: 188.6 kB / 0.8816 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.9345, allocations: 11.98 kB / 0.8816 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.9349, allocations: 19.94 kB / 0.8817 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.935, allocations: 27.97 kB / 0.8817 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.935, allocations: 16.75 kB / 0.8817 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004416/0.9354, allocations: 354.8 kB / 0.8821 GB, free: 464 kB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.9354, allocations: 0 / 0.8821 GB, free: 464 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009884/0.9364, allocations: 367.2 kB / 0.8824 GB, free: 96 kB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005463/0.937, allocations: 212 kB / 0.8826 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.9385, allocations: 0.6313 MB / 0.8832 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.9385, allocations: 8.047 kB / 0.8832 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.9389, allocations: 203.7 kB / 0.8834 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.9406, allocations: 372.2 kB / 0.8838 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.9432, allocations: 1.428 MB / 0.8852 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.9438, allocations: 0.9458 MB / 0.8861 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.944, allocations: 51.42 kB / 0.8861 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.944, allocations: 4 kB / 0.8861 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.01938/0.9634, allocations: 13.14 MB / 0.899 GB, free: 15.12 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)