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.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.0009482/0.0009482, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009725/0.0009725, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7739/0.7739, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 0.5206 GB, free: 1.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.2e-05, allocations: 4.938 kB / 0.5206 GB, free: 1.156 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4467/0.4467, allocations: 165.8 MB / 0.6825 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.4523, allocations: 7.392 MB / 0.6897 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.4526, allocations: 19.47 kB / 0.6898 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.453, allocations: 171.7 kB / 0.6899 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.4553, allocations: 1.322 MB / 0.6912 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.4564, allocations: 0.7119 MB / 0.6919 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007547/0.4572, allocations: 0.7511 MB / 0.6927 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.4575, allocations: 254.4 kB / 0.6929 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.4587, allocations: 0.8483 MB / 0.6937 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.4593, allocations: 410.6 kB / 0.6941 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4594, allocations: 31.25 kB / 0.6941 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4606, allocations: 1.054 MB / 0.6952 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.4607, allocations: 129.9 kB / 0.6953 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.4609, allocations: 124.5 kB / 0.6954 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.4619, allocations: 0.8244 MB / 0.6962 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4619, allocations: 3.031 kB / 0.6962 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4619, allocations: 0 / 0.6962 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4619, allocations: 0 / 0.6962 GB, free: 14.53 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.0007713/0.4626, allocations: 0.7222 MB / 0.6969 GB, free: 14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4627, allocations: 12.34 kB / 0.6969 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/0.4634, allocations: 188.3 kB / 0.6971 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4637, allocations: 287.1 kB / 0.6974 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.4638, allocations: 76.69 kB / 0.6975 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4638, allocations: 28.59 kB / 0.6975 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.4642, allocations: 320.6 kB / 0.6978 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4642, allocations: 0 / 0.6978 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.4642, allocations: 13.5 kB / 0.6978 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.4642, allocations: 5.625 kB / 0.6978 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.4644, allocations: 114.7 kB / 0.6979 GB, free: 13.57 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.0009639/0.4654, allocations: 1.255 MB / 0.6992 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4655, allocations: 88.59 kB / 0.6992 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.4656, allocations: 40.17 kB / 0.6993 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.4659, allocations: 130.2 kB / 0.6994 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.466, allocations: 33.39 kB / 0.6994 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.466, allocations: 0 / 0.6994 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0004063/0.4664, allocations: 176.2 kB / 0.6996 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.4664, allocations: 58.94 kB / 0.6997 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4665, allocations: 280.7 kB / 0.6999 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4666, allocations: 32.7 kB / 0.7 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.4666, allocations: 240.6 kB / 0.7002 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.4667, allocations: 56.23 kB / 0.7002 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.4667, allocations: 48.59 kB / 0.7003 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.4668, allocations: 0.5029 MB / 0.7008 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.4668, allocations: 26.03 kB / 0.7008 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.4669, allocations: 180.7 kB / 0.701 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.467, allocations: 129.3 kB / 0.7011 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.467, allocations: 0 / 0.7011 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002373/0.4673, allocations: 159.2 kB / 0.7012 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4673, allocations: 10.12 kB / 0.7013 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4673, allocations: 192 / 0.7013 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4673, allocations: 6.562 kB / 0.7013 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4674, allocations: 39.45 kB / 0.7013 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4674, allocations: 5.531 kB / 0.7013 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.4675, allocations: 26.3 kB / 0.7013 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4676, allocations: 12.56 kB / 0.7013 GB, free: 11.25 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 7.242e-05/0.4676, allocations: 161.3 kB / 0.7015 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.4677, allocations: 34.05 kB / 0.7015 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.468, allocations: 173.7 kB / 0.7017 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.468, allocations: 10.31 kB / 0.7017 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.468, allocations: 0 / 0.7017 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.468, allocations: 0 / 0.7017 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.4685, allocations: 0.6118 MB / 0.7023 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4685, allocations: 5.531 kB / 0.7023 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.4686, allocations: 33.34 kB / 0.7023 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4686, allocations: 6.5 kB / 0.7023 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4686, allocations: 9.156 kB / 0.7024 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4686, allocations: 5.906 kB / 0.7024 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4686, allocations: 0 / 0.7024 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4689, allocations: 358.8 kB / 0.7027 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.4689, allocations: 42.73 kB / 0.7027 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.4689, allocations: 8.406 kB / 0.7028 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.469, allocations: 9.781 kB / 0.7028 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4691, allocations: 21.08 kB / 0.7028 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4691, allocations: 14.52 kB / 0.7028 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.4692, allocations: 197 kB / 0.703 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4692, allocations: 0 / 0.703 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000316/0.4695, allocations: 130.8 kB / 0.7031 GB, free: 10.17 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.0003073/0.4698, allocations: 223.8 kB / 0.7033 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.47, allocations: 98.78 kB / 0.7034 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.47, allocations: 0 / 0.7034 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.47, allocations: 60.72 kB / 0.7035 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.4705, allocations: 114.3 kB / 0.7036 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.4713, allocations: 0.5678 MB / 0.7041 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.4714, allocations: 101.8 kB / 0.7042 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.4715, allocations: 66.81 kB / 0.7043 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4716, allocations: 27.67 kB / 0.7043 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.4716, allocations: 3.938 kB / 0.7043 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of Templates: time 0.007121/0.4787, allocations: 6.09 MB / 0.7103 GB, free: 7.684 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348383214790374]