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.001455/0.001455, allocations: 92.7 kB / 19.44 MB, free: 324 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.001653/0.001653, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.535 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.219/1.219, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 1.684e-06/1.684e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.439e-05, allocations: 6.312 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2285/0.2285, allocations: 149.5 MB / 0.6656 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.2392, allocations: 6.535 MB / 0.672 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.2398, allocations: 19.81 kB / 0.672 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.2405, allocations: 178.7 kB / 0.6722 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.2445, allocations: 1.325 MB / 0.6735 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.2467, allocations: 0.7164 MB / 0.6742 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.2479, allocations: 0.7522 MB / 0.6749 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004987/0.2484, allocations: 247.3 kB / 0.6751 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.2504, allocations: 0.8409 MB / 0.676 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.2514, allocations: 410.8 kB / 0.6764 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.2514, allocations: 27.94 kB / 0.6764 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.2541, allocations: 1.059 MB / 0.6774 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2543, allocations: 119.6 kB / 0.6775 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.2545, allocations: 123.7 kB / 0.6776 GB, free: 356 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3131/0.5676, allocations: 0.9233 MB / 0.6785 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5676, allocations: 2.625 kB / 0.6786 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5676, allocations: 2.938 kB / 0.6786 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5676, allocations: 0 / 0.6786 GB, free: 48.08 MB / 0.6355 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.0008449/0.5684, allocations: 0.6318 MB / 0.6792 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5684, allocations: 9.172 kB / 0.6792 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.5694, allocations: 185.2 kB / 0.6794 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.5699, allocations: 292.8 kB / 0.6796 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.5699, allocations: 79.8 kB / 0.6797 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.57, allocations: 28.78 kB / 0.6797 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.5705, allocations: 394.5 kB / 0.6801 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5706, allocations: 0 / 0.6801 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.5706, allocations: 13.47 kB / 0.6801 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5706, allocations: 6.75 kB / 0.6801 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.571, allocations: 275.6 kB / 0.6804 GB, free: 47.36 MB / 0.6355 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.001324/0.5724, allocations: 1.071 MB / 0.6814 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.5727, allocations: 185.5 kB / 0.6816 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.5729, allocations: 111.1 kB / 0.6817 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.5736, allocations: 139.8 kB / 0.6819 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.5736, allocations: 34.38 kB / 0.6819 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.5736, allocations: 1.266 kB / 0.6819 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0008485/0.5745, allocations: 370.2 kB / 0.6822 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.5745, allocations: 54.84 kB / 0.6823 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5747, allocations: 238 kB / 0.6825 GB, free: 46.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5747, allocations: 25.7 kB / 0.6826 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.5747, allocations: 202.2 kB / 0.6827 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.5748, allocations: 54.3 kB / 0.6828 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.5748, allocations: 49.86 kB / 0.6828 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.5749, allocations: 331.8 kB / 0.6832 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5751, allocations: 89.38 kB / 0.6832 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.5753, allocations: 221.6 kB / 0.6835 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.5756, allocations: 237.8 kB / 0.6837 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5756, allocations: 0 / 0.6837 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005027/0.5761, allocations: 286.8 kB / 0.684 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5761, allocations: 5.188 kB / 0.684 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5761, allocations: 2.938 kB / 0.684 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5762, allocations: 8.516 kB / 0.684 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.5764, allocations: 39.36 kB / 0.684 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5764, allocations: 9.75 kB / 0.684 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5766, allocations: 24.02 kB / 0.684 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.5766, allocations: 12.91 kB / 0.6841 GB, free: 45.71 MB / 0.6355 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.0001104/0.5767, allocations: 150.5 kB / 0.6842 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5768, allocations: 30.58 kB / 0.6842 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006224/0.5774, allocations: 309.7 kB / 0.6845 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.5774, allocations: 3.641 kB / 0.6845 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5774, allocations: 4.625 kB / 0.6845 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5774, allocations: 0 / 0.6845 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5785, allocations: 0.7119 MB / 0.6852 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5785, allocations: 5.812 kB / 0.6852 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5786, allocations: 39.55 kB / 0.6853 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.5786, allocations: 3.344 kB / 0.6853 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.5787, allocations: 6.734 kB / 0.6853 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5787, allocations: 6.844 kB / 0.6853 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5787, allocations: 2.844 kB / 0.6853 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.5792, allocations: 409.1 kB / 0.6857 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.5793, allocations: 54.8 kB / 0.6857 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.5793, allocations: 7.297 kB / 0.6857 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5795, allocations: 15.58 kB / 0.6858 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.5796, allocations: 18.75 kB / 0.6858 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.5796, allocations: 8.5 kB / 0.6858 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.5797, allocations: 166.7 kB / 0.6859 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5797, allocations: 0 / 0.6859 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004692/0.5802, allocations: 137.4 kB / 0.6861 GB, free: 44.91 MB / 0.6355 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.000402/0.5806, allocations: 226.7 kB / 0.6863 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.581, allocations: 217.1 kB / 0.6865 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.581, allocations: 0.875 kB / 0.6865 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.5812, allocations: 113.1 kB / 0.6866 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.5819, allocations: 122.1 kB / 0.6867 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.5827, allocations: 0.5758 MB / 0.6873 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.5828, allocations: 184.4 kB / 0.6875 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.583, allocations: 72.31 kB / 0.6875 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.5831, allocations: 29.41 kB / 0.6876 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.5831, allocations: 1.938 kB / 0.6876 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.009657/0.5928, allocations: 6.066 MB / 0.6935 GB, free: 44.12 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.66579046100378]