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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.334/1.334, allocations: 154.6 MB / 414.1 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0.5469 kB / 0.5196 GB, free: 1.445 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.276e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5074/0.5074, allocations: 165.7 MB / 0.6815 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.007305/0.5147, allocations: 7.387 MB / 0.6887 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.5151, allocations: 18.34 kB / 0.6887 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.5157, allocations: 177.1 kB / 0.6889 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.5187, allocations: 1.329 MB / 0.6902 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.5203, allocations: 0.7104 MB / 0.6909 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.521, allocations: 0.7508 MB / 0.6916 GB, free: 14.9 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.5214, allocations: 254.8 kB / 0.6919 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.5228, allocations: 0.8384 MB / 0.6927 GB, free: 14.83 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.5235, allocations: 416.5 kB / 0.6931 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.5236, allocations: 27.22 kB / 0.6931 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5251, allocations: 1.055 MB / 0.6941 GB, free: 14.69 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5252, allocations: 122.8 kB / 0.6942 GB, free: 14.67 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.5254, allocations: 128.2 kB / 0.6944 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.5265, allocations: 0.926 MB / 0.6953 GB, free: 14.58 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5265, allocations: 0 / 0.6953 GB, free: 14.58 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5265, allocations: 0 / 0.6953 GB, free: 14.58 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5265, allocations: 3.938 kB / 0.6953 GB, free: 14.57 MB / 0.5574 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.0008244/0.5273, allocations: 0.747 MB / 0.696 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5273, allocations: 9.531 kB / 0.696 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.5283, allocations: 180.8 kB / 0.6962 GB, free: 14 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.5287, allocations: 296.5 kB / 0.6965 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.5288, allocations: 77.56 kB / 0.6965 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.5289, allocations: 24.56 kB / 0.6966 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.5294, allocations: 352.2 kB / 0.6969 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5294, allocations: 5.375 kB / 0.6969 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.5294, allocations: 22.94 kB / 0.6969 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5294, allocations: 6.625 kB / 0.6969 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.5298, allocations: 173.2 kB / 0.6971 GB, free: 13.62 MB / 0.5574 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.001461/0.5312, allocations: 1.323 MB / 0.6984 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.5315, allocations: 115.9 kB / 0.6985 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.5316, allocations: 66.84 kB / 0.6986 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.5323, allocations: 130.2 kB / 0.6987 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.5323, allocations: 33.39 kB / 0.6987 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.5323, allocations: 0 / 0.6987 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of matching and sorting (n=15): time 0.0007214/0.5331, allocations: 246.6 kB / 0.699 GB, free: 12.63 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.5331, allocations: 54.81 kB / 0.699 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5333, allocations: 318.7 kB / 0.6993 GB, free: 12.4 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5333, allocations: 29.7 kB / 0.6993 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5334, allocations: 254 kB / 0.6996 GB, free: 12.19 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.5335, allocations: 52.7 kB / 0.6996 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.5335, allocations: 51.58 kB / 0.6997 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.5336, allocations: 0.5126 MB / 0.7002 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5337, allocations: 47.84 kB / 0.7002 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.5339, allocations: 201.2 kB / 0.7004 GB, free: 11.46 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.5342, allocations: 183.3 kB / 0.7006 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5342, allocations: 0 / 0.7006 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004444/0.5346, allocations: 210.3 kB / 0.7008 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5346, allocations: 12.72 kB / 0.7008 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5346, allocations: 3.812 kB / 0.7008 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5346, allocations: 10.31 kB / 0.7008 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.5348, allocations: 38.72 kB / 0.7009 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5349, allocations: 3 kB / 0.7009 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.535, allocations: 18.94 kB / 0.7009 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.535, allocations: 14.09 kB / 0.7009 GB, free: 11.3 MB / 0.5574 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.0001197/0.5352, allocations: 185.2 kB / 0.7011 GB, free: 11.14 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5353, allocations: 32.75 kB / 0.7011 GB, free: 11.13 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.5358, allocations: 232.4 kB / 0.7013 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5358, allocations: 3.5 kB / 0.7013 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5358, allocations: 0 / 0.7013 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5358, allocations: 0 / 0.7013 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5368, allocations: 0.7073 MB / 0.702 GB, free: 10.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5368, allocations: 4.203 kB / 0.702 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.537, allocations: 41.41 kB / 0.7021 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.537, allocations: 2.625 kB / 0.7021 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.537, allocations: 5.031 kB / 0.7021 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.537, allocations: 6.172 kB / 0.7021 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.537, allocations: 5.094 kB / 0.7021 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.5375, allocations: 399 kB / 0.7025 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5376, allocations: 47.25 kB / 0.7025 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.5376, allocations: 5.312 kB / 0.7025 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5378, allocations: 14.53 kB / 0.7025 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.5379, allocations: 19.44 kB / 0.7025 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.5379, allocations: 12.58 kB / 0.7026 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001222/0.538, allocations: 214.4 kB / 0.7028 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7e-08/0.538, allocations: 0 / 0.7028 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004999/0.5385, allocations: 131.7 kB / 0.7029 GB, free: 10.23 MB / 0.5574 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.000399/0.5389, allocations: 230.8 kB / 0.7031 GB, free: 10.11 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.5393, allocations: 160.1 kB / 0.7033 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5393, allocations: 0 / 0.7033 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5395, allocations: 83.95 kB / 0.7033 GB, free: 10.08 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.5401, allocations: 111.2 kB / 0.7034 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.541, allocations: 0.5771 MB / 0.704 GB, free: 9.691 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.5411, allocations: 175.1 kB / 0.7042 GB, free: 9.609 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.5413, allocations: 68.72 kB / 0.7042 GB, free: 9.59 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.5414, allocations: 31.47 kB / 0.7043 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of SimCode: time 4.01e-07/0.5414, allocations: 0 / 0.7043 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of Templates: time 0.01002/0.5514, allocations: 6.073 MB / 0.7102 GB, free: 7.742 MB / 0.5574 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.814281334052794]