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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 107.4 kB / 16.37 MB, free: 6.422 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.001142/0.001142, allocations: 195.8 kB / 17.31 MB, free: 5.801 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7494/0.7494, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3266, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1592/0.4859, allocations: 169.4 MB / 0.7512 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3068/0.7927, allocations: 7.12 MB / 0.7582 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.7932, allocations: 12.66 kB / 0.7582 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.7938, allocations: 177 kB / 0.7584 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.7969, allocations: 1.257 MB / 0.7596 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.7986, allocations: 0.6357 MB / 0.7602 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009166/0.7995, allocations: 0.7583 MB / 0.761 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.8, allocations: 290.2 kB / 0.7612 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.8012, allocations: 0.5711 MB / 0.7618 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008792/0.8021, allocations: 424.3 kB / 0.7622 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.8021, allocations: 28.59 kB / 0.7622 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.8046, allocations: 1.243 MB / 0.7634 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.8047, allocations: 119.9 kB / 0.7636 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.805, allocations: 172.4 kB / 0.7637 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.8068, allocations: 0.9157 MB / 0.7646 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8069, allocations: 4.781 kB / 0.7646 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8069, allocations: 0 / 0.7646 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.8069, allocations: 0.875 kB / 0.7646 GB, free: 1.582 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001152/0.808, allocations: 0.6897 MB / 0.7653 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.8081, allocations: 12.14 kB / 0.7653 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.8091, allocations: 127.8 kB / 0.7654 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.8098, allocations: 345.5 kB / 0.7658 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.8099, allocations: 51.59 kB / 0.7658 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.8099, allocations: 29.59 kB / 0.7658 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.8107, allocations: 366.7 kB / 0.7662 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8107, allocations: 3.875 kB / 0.7662 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.8107, allocations: 11.59 kB / 0.7662 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.8107, allocations: 6.406 kB / 0.7662 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/0.8114, allocations: 276.5 kB / 0.7665 GB, free: 16.71 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.00192/0.8133, allocations: 1.485 MB / 0.7679 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.8136, allocations: 193.1 kB / 0.7681 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.8138, allocations: 114.8 kB / 0.7682 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/0.8148, allocations: 0.504 MB / 0.7687 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.8148, allocations: 43.92 kB / 0.7687 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.8148, allocations: 0.9062 kB / 0.7687 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009491/0.8158, allocations: 357.7 kB / 0.7691 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.8158, allocations: 57.59 kB / 0.7691 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.8162, allocations: 311.7 kB / 0.7694 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.8163, allocations: 31.33 kB / 0.7695 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.8164, allocations: 184.6 kB / 0.7696 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.8165, allocations: 51.33 kB / 0.7697 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.8166, allocations: 45.05 kB / 0.7697 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8167, allocations: 344.6 kB / 0.7701 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.8169, allocations: 88.47 kB / 0.7701 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.8171, allocations: 148.4 kB / 0.7703 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.8175, allocations: 242.1 kB / 0.7705 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8175, allocations: 3.156 kB / 0.7705 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005242/0.818, allocations: 281.8 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.818, allocations: 6.328 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8181, allocations: 2.5 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8181, allocations: 4.938 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.8183, allocations: 42.12 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8183, allocations: 6.344 kB / 0.7708 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.8185, allocations: 30.09 kB / 0.7709 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.8186, allocations: 12.38 kB / 0.7709 GB, free: 14.3 MB / 0.5919 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.0001537/0.8187, allocations: 158 kB / 0.771 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.8188, allocations: 32 kB / 0.7711 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.8194, allocations: 307.7 kB / 0.7714 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8195, allocations: 7.281 kB / 0.7714 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.8195, allocations: 5.203 kB / 0.7714 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8195, allocations: 0.875 kB / 0.7714 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.8206, allocations: 0.81 MB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8207, allocations: 3.219 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.8208, allocations: 35.86 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8208, allocations: 5.344 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.8209, allocations: 11.25 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8209, allocations: 3.312 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8209, allocations: 7.312 kB / 0.7722 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.8214, allocations: 389.1 kB / 0.7726 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.8216, allocations: 138.7 kB / 0.7727 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.8217, allocations: 10.34 kB / 0.7727 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.8219, allocations: 15.66 kB / 0.7728 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.822, allocations: 13.75 kB / 0.7728 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.822, allocations: 16.28 kB / 0.7728 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000274/0.8223, allocations: 222.9 kB / 0.773 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8223, allocations: 4.062 kB / 0.773 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007371/0.823, allocations: 117.2 kB / 0.7731 GB, free: 13.35 MB / 0.5919 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.0006456/0.8237, allocations: 233.7 kB / 0.7733 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.8242, allocations: 227.4 kB / 0.7736 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8242, allocations: 1.062 kB / 0.7736 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.8245, allocations: 122.7 kB / 0.7737 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.8253, allocations: 164.6 kB / 0.7738 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8264, allocations: 0.5912 MB / 0.7744 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.8268, allocations: 0.7877 MB / 0.7752 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.8271, allocations: 93.7 kB / 0.7753 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.8272, allocations: 26.94 kB / 0.7753 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.8272, allocations: 0.8438 kB / 0.7753 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.01162/0.8388, allocations: 7.268 MB / 0.7824 GB, free: 11.88 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)