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.001078/0.001078, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001165/0.001165, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3092, allocations: 80.91 MB / 0.5858 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4473/0.7565, allocations: 185 MB / 0.7664 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008448/0.765, allocations: 6.98 MB / 0.7733 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009565/0.766, allocations: 30.66 kB / 0.7733 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009784/0.767, allocations: 403.1 kB / 0.7737 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.7702, allocations: 1.442 MB / 0.7751 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.7734, allocations: 1.165 MB / 0.7762 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.7757, allocations: 1.938 MB / 0.7781 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.7766, allocations: 0.6639 MB / 0.7788 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.7784, allocations: 0.8236 MB / 0.7796 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.7798, allocations: 0.5974 MB / 0.7802 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.78, allocations: 70.84 kB / 0.7802 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.7833, allocations: 1.925 MB / 0.7821 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.7837, allocations: 295.2 kB / 0.7824 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.7843, allocations: 432.4 kB / 0.7828 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.787, allocations: 1.774 MB / 0.7845 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.787, allocations: 0 / 0.7845 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.787, allocations: 0.8438 kB / 0.7845 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.7871, allocations: 0 / 0.7845 GB, free: 1.32 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00164/0.7887, allocations: 1.158 MB / 0.7857 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7888, allocations: 9.266 kB / 0.7857 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.7905, allocations: 274.7 kB / 0.7859 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.7914, allocations: 0.6118 MB / 0.7865 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.7914, allocations: 44.06 kB / 0.7866 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.7915, allocations: 59.38 kB / 0.7866 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008606/0.7924, allocations: 0.6322 MB / 0.7872 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.7924, allocations: 1 kB / 0.7872 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.7925, allocations: 22.81 kB / 0.7873 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.7925, allocations: 24.75 kB / 0.7873 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.7932, allocations: 0.5237 MB / 0.7878 GB, free: 16.22 MB / 0.5919 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.002517/0.7958, allocations: 2.447 MB / 0.7902 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.7963, allocations: 378.1 kB / 0.7905 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.7966, allocations: 240.5 kB / 0.7908 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.7971, allocations: 309.1 kB / 0.7911 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7972, allocations: 37.55 kB / 0.7911 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.7972, allocations: 0.9688 kB / 0.7911 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.00112/0.7983, allocations: 0.6045 MB / 0.7917 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.7983, allocations: 64.5 kB / 0.7918 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.7988, allocations: 0.4973 MB / 0.7922 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.7988, allocations: 35.48 kB / 0.7923 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.799, allocations: 323.3 kB / 0.7926 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.7991, allocations: 142.2 kB / 0.7927 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7992, allocations: 86.17 kB / 0.7928 GB, free: 14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7993, allocations: 368.2 kB / 0.7932 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.7996, allocations: 174.9 kB / 0.7933 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.7999, allocations: 287.3 kB / 0.7936 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.8005, allocations: 456.7 kB / 0.794 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8005, allocations: 3.078 kB / 0.794 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007568/0.8013, allocations: 0.5262 MB / 0.7946 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8013, allocations: 5.031 kB / 0.7946 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8013, allocations: 5.125 kB / 0.7946 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8013, allocations: 7.469 kB / 0.7946 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.802, allocations: 125.7 kB / 0.7947 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000342/0.8023, allocations: 0.5995 MB / 0.7953 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.8028, allocations: 50.55 kB / 0.7953 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.8029, allocations: 19.66 kB / 0.7953 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004241/0.8033, allocations: 353.7 kB / 0.7957 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003334/0.8036, allocations: 287.8 kB / 0.796 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000557/0.8042, allocations: 450.1 kB / 0.7964 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.8042, allocations: 1 kB / 0.7964 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007353/0.805, allocations: 0.5192 MB / 0.7969 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.805, allocations: 17.06 kB / 0.7969 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.805, allocations: 3.062 kB / 0.7969 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.805, allocations: 4.406 kB / 0.7969 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.8054, allocations: 118.5 kB / 0.797 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8055, allocations: 5.594 kB / 0.797 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.8059, allocations: 45.95 kB / 0.7971 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.806, allocations: 20.73 kB / 0.7971 GB, free: 12.42 MB / 0.5919 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.0001452/0.8061, allocations: 205.6 kB / 0.7973 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.8062, allocations: 66.03 kB / 0.7974 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.8069, allocations: 488.1 kB / 0.7978 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.807, allocations: 6.312 kB / 0.7978 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.807, allocations: 0 / 0.7978 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/0.8077, allocations: 0.6978 MB / 0.7985 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.8093, allocations: 1.28 MB / 0.7998 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8094, allocations: 3.406 kB / 0.7998 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.8099, allocations: 132.9 kB / 0.7999 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8099, allocations: 3.188 kB / 0.7999 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.81, allocations: 11.72 kB / 0.7999 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003504/0.8103, allocations: 0.5962 MB / 0.8005 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8103, allocations: 2.562 kB / 0.8005 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.8113, allocations: 0.8245 MB / 0.8013 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.8116, allocations: 187.8 kB / 0.8015 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.8116, allocations: 8.5 kB / 0.8015 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.812, allocations: 21.8 kB / 0.8015 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.8121, allocations: 29.73 kB / 0.8015 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.8121, allocations: 20.06 kB / 0.8015 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003112/0.8125, allocations: 349.3 kB / 0.8019 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8125, allocations: 0.875 kB / 0.8019 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008252/0.8133, allocations: 361.7 kB / 0.8022 GB, free: 10.25 MB / 0.5919 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.0004016/0.8137, allocations: 210.8 kB / 0.8024 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.8149, allocations: 0.6665 MB / 0.8031 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8149, allocations: 3.219 kB / 0.8031 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.8153, allocations: 218.3 kB / 0.8033 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.8166, allocations: 360.9 kB / 0.8036 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.8186, allocations: 1.374 MB / 0.805 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.8191, allocations: 0.9471 MB / 0.8059 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005811/0.8197, allocations: 213.7 kB / 0.8061 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.8198, allocations: 49.83 kB / 0.8062 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.8198, allocations: 0 / 0.8062 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.01939/0.8392, allocations: 12.41 MB / 0.8183 GB, free: 5.242 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)