Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004723/0.004723, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001243/0.001244, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.5814 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4995, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1929/0.6924, allocations: 169.4 MB / 0.8252 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008982/0.7014, allocations: 7.126 MB / 0.8321 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.7021, allocations: 11.94 kB / 0.8321 GB, free: 5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.7028, allocations: 182.7 kB / 0.8323 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.7063, allocations: 1.311 MB / 0.8336 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.708, allocations: 0.6293 MB / 0.8342 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000854/0.7088, allocations: 0.7641 MB / 0.8349 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.7093, allocations: 298.7 kB / 0.8352 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.7104, allocations: 0.576 MB / 0.8358 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.7112, allocations: 436.5 kB / 0.8362 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.7112, allocations: 24 kB / 0.8362 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.7134, allocations: 1.243 MB / 0.8374 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.7136, allocations: 119.7 kB / 0.8376 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.7138, allocations: 183.1 kB / 0.8377 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.7152, allocations: 0.9116 MB / 0.8386 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7153, allocations: 0 / 0.8386 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7153, allocations: 0 / 0.8386 GB, free: 14.34 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7153, allocations: 8 kB / 0.8386 GB, free: 14.33 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.00109/0.7164, allocations: 0.6916 MB / 0.8393 GB, free: 13.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7164, allocations: 8.031 kB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.7175, allocations: 135.3 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.7181, allocations: 341.1 kB / 0.8398 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.7182, allocations: 46.27 kB / 0.8398 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.7182, allocations: 28 kB / 0.8398 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.7189, allocations: 374.1 kB / 0.8402 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.7189, allocations: 0 / 0.8402 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.7189, allocations: 15.94 kB / 0.8402 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.719, allocations: 4 kB / 0.8402 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.7195, allocations: 274 kB / 0.8405 GB, free: 12.32 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.001903/0.7214, allocations: 1.488 MB / 0.8419 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.7218, allocations: 190.6 kB / 0.8421 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.7221, allocations: 120.8 kB / 0.8422 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.7231, allocations: 0.5014 MB / 0.8427 GB, free: 9.797 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.7231, allocations: 38.55 kB / 0.8428 GB, free: 9.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.7231, allocations: 0 / 0.8428 GB, free: 9.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000961/0.7241, allocations: 357 kB / 0.8431 GB, free: 9.395 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7242, allocations: 59.41 kB / 0.8431 GB, free: 9.324 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.7245, allocations: 316.5 kB / 0.8434 GB, free: 9.016 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7245, allocations: 25.7 kB / 0.8435 GB, free: 8.984 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.7247, allocations: 192 kB / 0.8437 GB, free: 8.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.7247, allocations: 55.27 kB / 0.8437 GB, free: 8.738 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.7248, allocations: 45.66 kB / 0.8438 GB, free: 8.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7249, allocations: 342.8 kB / 0.8441 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.7251, allocations: 87.92 kB / 0.8442 GB, free: 8.258 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.7254, allocations: 145.9 kB / 0.8443 GB, free: 8.094 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.7258, allocations: 240.9 kB / 0.8445 GB, free: 7.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.7258, allocations: 0 / 0.8445 GB, free: 7.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005862/0.7264, allocations: 281 kB / 0.8448 GB, free: 7.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7265, allocations: 8 kB / 0.8448 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7265, allocations: 0 / 0.8448 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7265, allocations: 4 kB / 0.8448 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.7267, allocations: 48.09 kB / 0.8449 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.7268, allocations: 0 / 0.8449 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.727, allocations: 35.77 kB / 0.8449 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.727, allocations: 12 kB / 0.8449 GB, free: 7.453 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.0001536/0.7272, allocations: 153.7 kB / 0.8451 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.7273, allocations: 31.62 kB / 0.8451 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.728, allocations: 319 kB / 0.8454 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.728, allocations: 0 / 0.8454 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.728, allocations: 4 kB / 0.8454 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.728, allocations: 0 / 0.8454 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.7294, allocations: 0.8044 MB / 0.8462 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7294, allocations: 11.88 kB / 0.8462 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.7296, allocations: 35.91 kB / 0.8462 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7296, allocations: 4 kB / 0.8462 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.7296, allocations: 8.219 kB / 0.8462 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.7296, allocations: 8 kB / 0.8462 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7296, allocations: 0 / 0.8462 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.7302, allocations: 401 kB / 0.8466 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.7304, allocations: 140.6 kB / 0.8468 GB, free: 5.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.7304, allocations: 4 kB / 0.8468 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.7307, allocations: 15.98 kB / 0.8468 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.7308, allocations: 23.92 kB / 0.8468 GB, free: 5.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.7308, allocations: 11.98 kB / 0.8468 GB, free: 5.355 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000212/0.731, allocations: 223.1 kB / 0.847 GB, free: 5.141 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.731, allocations: 0 / 0.847 GB, free: 5.141 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005071/0.7315, allocations: 123.8 kB / 0.8471 GB, free: 5.02 MB / 0.67 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.0005457/0.7321, allocations: 230.9 kB / 0.8474 GB, free: 4.789 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.7326, allocations: 223.7 kB / 0.8476 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7326, allocations: 0 / 0.8476 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.7329, allocations: 115.8 kB / 0.8477 GB, free: 4.457 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.7337, allocations: 167 kB / 0.8478 GB, free: 4.297 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7347, allocations: 0.5894 MB / 0.8484 GB, free: 3.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.7351, allocations: 0.7834 MB / 0.8492 GB, free: 2.852 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.7354, allocations: 82.88 kB / 0.8493 GB, free: 2.773 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.7355, allocations: 35.42 kB / 0.8493 GB, free: 2.742 MB / 0.67 GB Notification: Performance of SimCode: time 1.793e-06/0.7355, allocations: 0 / 0.8493 GB, free: 2.742 MB / 0.67 GB Notification: Performance of Templates: time 0.013/0.7485, allocations: 7.317 MB / 0.8564 GB, free: 11.54 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)