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.0008392/0.0008393, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009714/0.0009715, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.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.9942/0.9942, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004773, allocations: 12 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 82.32 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5613/0.7715, allocations: 180.4 MB / 0.7641 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7833, allocations: 6.959 MB / 0.7709 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.7848, allocations: 27.81 kB / 0.7709 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.7862, allocations: 338.2 kB / 0.7713 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.7907, allocations: 1.358 MB / 0.7726 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.7943, allocations: 1.053 MB / 0.7736 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.7982, allocations: 2.718 MB / 0.7763 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.7993, allocations: 0.5351 MB / 0.7768 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.8013, allocations: 0.7158 MB / 0.7775 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.8031, allocations: 0.5941 MB / 0.7781 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.8033, allocations: 28 kB / 0.7781 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.8076, allocations: 2.186 MB / 0.7802 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.8081, allocations: 251.2 kB / 0.7805 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.8089, allocations: 411.7 kB / 0.7809 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.8124, allocations: 1.819 MB / 0.7826 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8124, allocations: 4 kB / 0.7826 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8125, allocations: 0 / 0.7826 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.8125, allocations: 0 / 0.7826 GB, free: 5.102 MB / 0.5919 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.002168/0.8147, allocations: 1.016 MB / 0.7836 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8147, allocations: 8.031 kB / 0.7836 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.8169, allocations: 270.7 kB / 0.7839 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.8181, allocations: 0.587 MB / 0.7845 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.8181, allocations: 45.31 kB / 0.7845 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.8183, allocations: 55.91 kB / 0.7846 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.8195, allocations: 0.6401 MB / 0.7852 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8195, allocations: 7.938 kB / 0.7852 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.8196, allocations: 20 kB / 0.7852 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.8196, allocations: 17.31 kB / 0.7852 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.8207, allocations: 0.5282 MB / 0.7858 GB, free: 1.812 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.00344/0.8242, allocations: 2.457 MB / 0.7882 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.8248, allocations: 375.7 kB / 0.7885 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.8253, allocations: 249.3 kB / 0.7888 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.8259, allocations: 315.6 kB / 0.7891 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.8259, allocations: 42.88 kB / 0.7891 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.8259, allocations: 0 / 0.7891 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001404/0.8273, allocations: 0.6201 MB / 0.7897 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.8274, allocations: 59.34 kB / 0.7898 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.828, allocations: 0.4989 MB / 0.7902 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.8281, allocations: 37.7 kB / 0.7903 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.8283, allocations: 324.5 kB / 0.7906 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.8285, allocations: 138 kB / 0.7907 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.8286, allocations: 41.7 kB / 0.7908 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.8287, allocations: 370.7 kB / 0.7911 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.8291, allocations: 168.8 kB / 0.7913 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.8295, allocations: 292.3 kB / 0.7916 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.8303, allocations: 465 kB / 0.792 GB, free: 11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8303, allocations: 0 / 0.792 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009846/0.8313, allocations: 0.5327 MB / 0.7925 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.8315, allocations: 160.9 kB / 0.7927 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.8315, allocations: 3.938 kB / 0.7927 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8315, allocations: 4 kB / 0.7927 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.8323, allocations: 148.5 kB / 0.7928 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005232/0.8328, allocations: 0.5982 MB / 0.7934 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.8336, allocations: 89.64 kB / 0.7935 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.8336, allocations: 19.98 kB / 0.7935 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8337, allocations: 4 kB / 0.7935 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008677/0.8345, allocations: 455.7 kB / 0.794 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8346, allocations: 15.86 kB / 0.794 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.8346, allocations: 4 kB / 0.794 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.8351, allocations: 127.9 kB / 0.7941 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.8351, allocations: 11.06 kB / 0.7941 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.8358, allocations: 71.64 kB / 0.7942 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.8358, allocations: 16 kB / 0.7942 GB, free: 8.711 MB / 0.6075 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.0003625/0.8362, allocations: 309.3 kB / 0.7945 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8363, allocations: 63.19 kB / 0.7945 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.8373, allocations: 0.4892 MB / 0.795 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.8373, allocations: 4 kB / 0.795 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8373, allocations: 0 / 0.795 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008919/0.8382, allocations: 0.7144 MB / 0.7957 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.8402, allocations: 1.286 MB / 0.797 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8402, allocations: 4 kB / 0.797 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.8409, allocations: 137.4 kB / 0.7971 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.8409, allocations: 4 kB / 0.7971 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.8409, allocations: 12 kB / 0.7971 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003433/0.8413, allocations: 0.5898 MB / 0.7977 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.8413, allocations: 7.969 kB / 0.7977 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.8426, allocations: 0.8422 MB / 0.7985 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.8428, allocations: 180.3 kB / 0.7987 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.8429, allocations: 19.86 kB / 0.7987 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.8434, allocations: 47.91 kB / 0.7988 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.8435, allocations: 32.83 kB / 0.7988 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.8436, allocations: 16 kB / 0.7988 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004182/0.844, allocations: 354.8 kB / 0.7992 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.844, allocations: 3.938 kB / 0.7992 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001027/0.845, allocations: 359.1 kB / 0.7995 GB, free: 3.012 MB / 0.6075 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.000489/0.8455, allocations: 201.4 kB / 0.7997 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.8471, allocations: 0.6912 MB / 0.8004 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8471, allocations: 0 / 0.8004 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.8475, allocations: 237 kB / 0.8006 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.8496, allocations: 365.8 kB / 0.8009 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.8526, allocations: 1.7 MB / 0.8026 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.8533, allocations: 0.9535 MB / 0.8035 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007907/0.8541, allocations: 209 kB / 0.8037 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.8542, allocations: 51.44 kB / 0.8038 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.404e-06/0.8542, allocations: 0 / 0.8038 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.0225/0.8767, allocations: 11.91 MB / 0.8154 GB, free: 2.848 MB / 0.6231 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)