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.001059/0.001059, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001701/0.001701, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.989/0.989, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8346/0.8346, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 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.623e-06/1.623e-06, allocations: 0 / 0.5219 GB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.371e-05, allocations: 2.312 kB / 0.5219 GB, free: 408 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4103/0.4103, allocations: 144 MB / 0.6625 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003001/0.4133, allocations: 2.289 MB / 0.6648 GB, free: 16.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.4135, allocations: 19.09 kB / 0.6648 GB, free: 16.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.4139, allocations: 92.86 kB / 0.6649 GB, free: 16.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.4153, allocations: 0.6638 MB / 0.6655 GB, free: 16.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4164, allocations: 0.52 MB / 0.666 GB, free: 16.2 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.4173, allocations: 0.7498 MB / 0.6668 GB, free: 16.19 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.4177, allocations: 248.9 kB / 0.667 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.4184, allocations: 405.7 kB / 0.6674 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007741/0.4191, allocations: 402.3 kB / 0.6678 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.4192, allocations: 25.78 kB / 0.6678 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/0.4201, allocations: 484.9 kB / 0.6683 GB, free: 16.17 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.4203, allocations: 128.5 kB / 0.6684 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.4204, allocations: 122.6 kB / 0.6685 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.4212, allocations: 0.5371 MB / 0.669 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4212, allocations: 0 / 0.669 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4212, allocations: 4 kB / 0.669 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4212, allocations: 0 / 0.669 GB, free: 16.12 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.000685/0.4219, allocations: 0.6863 MB / 0.6697 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4219, allocations: 9.938 kB / 0.6697 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.4225, allocations: 185.1 kB / 0.6699 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4228, allocations: 290.5 kB / 0.6702 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.4229, allocations: 73.22 kB / 0.6702 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.4229, allocations: 33.31 kB / 0.6703 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.4232, allocations: 295.8 kB / 0.6706 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4232, allocations: 3.625 kB / 0.6706 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.4233, allocations: 13.25 kB / 0.6706 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4233, allocations: 9.781 kB / 0.6706 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.4234, allocations: 92.97 kB / 0.6707 GB, free: 15.18 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.0009073/0.4243, allocations: 1.2 MB / 0.6718 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4245, allocations: 78.56 kB / 0.6719 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.4245, allocations: 41.59 kB / 0.672 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.4248, allocations: 73.34 kB / 0.672 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4248, allocations: 40.42 kB / 0.6721 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.4248, allocations: 0 / 0.6721 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0003441/0.4252, allocations: 166.2 kB / 0.6722 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.4252, allocations: 52.69 kB / 0.6723 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4253, allocations: 274.6 kB / 0.6725 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4253, allocations: 32.03 kB / 0.6726 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.4254, allocations: 246.4 kB / 0.6728 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4254, allocations: 54.12 kB / 0.6729 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.4255, allocations: 51.52 kB / 0.6729 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.4255, allocations: 0.5125 MB / 0.6734 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.4256, allocations: 17.36 kB / 0.6734 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.4256, allocations: 172 kB / 0.6736 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4258, allocations: 119 kB / 0.6737 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4258, allocations: 1.188 kB / 0.6737 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002065/0.426, allocations: 149 kB / 0.6738 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.426, allocations: 5.344 kB / 0.6738 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.426, allocations: 7.109 kB / 0.6739 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.426, allocations: 2.156 kB / 0.6739 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4261, allocations: 42.03 kB / 0.6739 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.4261, allocations: 1.969 kB / 0.6739 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.4262, allocations: 18.33 kB / 0.6739 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.4262, allocations: 14 kB / 0.6739 GB, free: 12.89 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.41e-05/0.4263, allocations: 169.5 kB / 0.6741 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.4263, allocations: 31.89 kB / 0.6741 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4266, allocations: 152.6 kB / 0.6743 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4266, allocations: 3.094 kB / 0.6743 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4266, allocations: 0 / 0.6743 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4266, allocations: 5.203 kB / 0.6743 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.4271, allocations: 0.5388 MB / 0.6748 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4271, allocations: 0 / 0.6748 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.4272, allocations: 28.25 kB / 0.6748 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4272, allocations: 7.125 kB / 0.6748 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4272, allocations: 10.17 kB / 0.6748 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4272, allocations: 6.375 kB / 0.6749 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4272, allocations: 3.938 kB / 0.6749 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.4274, allocations: 336.7 kB / 0.6752 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.4274, allocations: 40.08 kB / 0.6752 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4274, allocations: 8.859 kB / 0.6752 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4275, allocations: 8.969 kB / 0.6752 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.4276, allocations: 17.56 kB / 0.6752 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4276, allocations: 12.27 kB / 0.6753 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.4277, allocations: 190.4 kB / 0.6754 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4277, allocations: 4 kB / 0.6754 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003685/0.428, allocations: 114.8 kB / 0.6756 GB, free: 11.84 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 (15): * Single equations (assignments): 15 * 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.0002538/0.4283, allocations: 178 kB / 0.6757 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.4284, allocations: 87.09 kB / 0.6758 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4284, allocations: 3.062 kB / 0.6758 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.4285, allocations: 46.75 kB / 0.6759 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.4289, allocations: 115.4 kB / 0.676 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/0.4297, allocations: 0.5721 MB / 0.6765 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.4298, allocations: 99.8 kB / 0.6766 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.4299, allocations: 35.08 kB / 0.6767 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.4301, allocations: 168.2 kB / 0.6768 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/0.4301, allocations: 0 / 0.6768 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.007746/0.4379, allocations: 5.813 MB / 0.6825 GB, free: 10.58 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.247968719806522]