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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8892/0.8892, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 404.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 107.4 kB / 485.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000992/0.000992, allocations: 51.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1715, allocations: 80.43 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5425/0.714, allocations: 167.2 MB / 0.8054 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008248/0.7223, allocations: 7.203 MB / 0.8124 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.7228, allocations: 15.88 kB / 0.8125 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.7233, allocations: 139.1 kB / 0.8126 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.7262, allocations: 1.191 MB / 0.8138 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.7277, allocations: 0.5719 MB / 0.8143 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.7289, allocations: 1.064 MB / 0.8153 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.7293, allocations: 246.1 kB / 0.8156 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.7305, allocations: 0.5331 MB / 0.8161 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.7313, allocations: 422.6 kB / 0.8165 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.7314, allocations: 16 kB / 0.8165 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.734, allocations: 1.477 MB / 0.818 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.7342, allocations: 107.6 kB / 0.8181 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.7344, allocations: 175.1 kB / 0.8182 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.7359, allocations: 0.9778 MB / 0.8192 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7359, allocations: 0 / 0.8192 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7359, allocations: 0 / 0.8192 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7359, allocations: 0 / 0.8192 GB, free: 11.79 MB / 0.5573 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.001042/0.737, allocations: 0.6934 MB / 0.8199 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.737, allocations: 12.03 kB / 0.8199 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.738, allocations: 135.3 kB / 0.82 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.7385, allocations: 321.2 kB / 0.8203 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.7386, allocations: 62.12 kB / 0.8204 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.7386, allocations: 24 kB / 0.8204 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.7393, allocations: 362.2 kB / 0.8207 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7393, allocations: 0 / 0.8207 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.7394, allocations: 16 kB / 0.8208 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.7394, allocations: 8 kB / 0.8208 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.7399, allocations: 277.9 kB / 0.821 GB, free: 9.785 MB / 0.5573 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.001907/0.7419, allocations: 1.492 MB / 0.8225 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.7423, allocations: 190.5 kB / 0.8227 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.7425, allocations: 124.8 kB / 0.8228 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.7436, allocations: 0.5014 MB / 0.8233 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.7436, allocations: 30.56 kB / 0.8233 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.7437, allocations: 0 / 0.8233 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0009821/0.7446, allocations: 362.6 kB / 0.8237 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.7447, allocations: 55.41 kB / 0.8237 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.745, allocations: 312.5 kB / 0.824 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.745, allocations: 33.7 kB / 0.824 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.7452, allocations: 184 kB / 0.8242 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.7452, allocations: 51.3 kB / 0.8243 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.7453, allocations: 49.55 kB / 0.8243 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7455, allocations: 342.8 kB / 0.8246 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.7457, allocations: 83.92 kB / 0.8247 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.7459, allocations: 148.3 kB / 0.8249 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.7463, allocations: 239.1 kB / 0.8251 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7464, allocations: 0 / 0.8251 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005695/0.7469, allocations: 286.5 kB / 0.8254 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.747, allocations: 4 kB / 0.8254 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.747, allocations: 4 kB / 0.8254 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.747, allocations: 4 kB / 0.8254 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.7472, allocations: 35.92 kB / 0.8254 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7472, allocations: 7.984 kB / 0.8254 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.7475, allocations: 43.8 kB / 0.8255 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.7475, allocations: 15.94 kB / 0.8255 GB, free: 4.902 MB / 0.5573 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.0001514/0.7477, allocations: 149.8 kB / 0.8256 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.7478, allocations: 28.5 kB / 0.8256 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.7485, allocations: 317.3 kB / 0.8259 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7486, allocations: 9.422 kB / 0.8259 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7486, allocations: 0 / 0.8259 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7486, allocations: 0 / 0.8259 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.7499, allocations: 0.8121 MB / 0.8267 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7499, allocations: 0 / 0.8267 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.7501, allocations: 31.98 kB / 0.8268 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7501, allocations: 8.031 kB / 0.8268 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.7501, allocations: 11.94 kB / 0.8268 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.7501, allocations: 7.922 kB / 0.8268 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7501, allocations: 4 kB / 0.8268 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.7512, allocations: 1.119 MB / 0.8279 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7514, allocations: 132.8 kB / 0.828 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.7514, allocations: 0 / 0.828 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.7517, allocations: 19.98 kB / 0.828 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.7517, allocations: 31.84 kB / 0.8281 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.7518, allocations: 8 kB / 0.8281 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002285/0.752, allocations: 227 kB / 0.8283 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.752, allocations: 0 / 0.8283 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005937/0.7526, allocations: 131.8 kB / 0.8284 GB, free: 1.691 MB / 0.5573 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.0005105/0.7531, allocations: 227.1 kB / 0.8286 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.7536, allocations: 215.7 kB / 0.8288 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7536, allocations: 3.938 kB / 0.8288 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.7539, allocations: 112.5 kB / 0.829 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.7547, allocations: 167 kB / 0.8291 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.7559, allocations: 0.8554 MB / 0.8299 GB, free: 64 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.7563, allocations: 0.7876 MB / 0.8307 GB, free: 15.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.7566, allocations: 86.81 kB / 0.8308 GB, free: 15.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.7567, allocations: 27.44 kB / 0.8308 GB, free: 15.13 MB / 0.573 GB Notification: Performance of SimCode: time 6.12e-07/0.7567, allocations: 0 / 0.8308 GB, free: 15.13 MB / 0.573 GB Notification: Performance of Templates: time 0.01178/0.7685, allocations: 7.128 MB / 0.8378 GB, free: 8.082 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)