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.001453/0.001453, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.001304/0.001304, allocations: 165 kB / 23.27 MB, free: 1.219 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 0.9365/0.9365, allocations: 177.2 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 0.86/0.86, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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 179] 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.004e-06/2.004e-06, allocations: 0 / 0.5208 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.761e-05, allocations: 5.719 kB / 0.5208 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4283/0.4283, allocations: 144 MB / 0.6614 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.4313, allocations: 2.287 MB / 0.6637 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.4316, allocations: 17.72 kB / 0.6637 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.4319, allocations: 90.11 kB / 0.6638 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.4333, allocations: 0.6643 MB / 0.6644 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.4342, allocations: 0.526 MB / 0.6649 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.4353, allocations: 0.7473 MB / 0.6657 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.4357, allocations: 246.4 kB / 0.6659 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.4364, allocations: 411.1 kB / 0.6663 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.4371, allocations: 398.3 kB / 0.6667 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.4372, allocations: 26.77 kB / 0.6667 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008416/0.438, allocations: 490 kB / 0.6672 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4382, allocations: 128.8 kB / 0.6673 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4383, allocations: 122.4 kB / 0.6674 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.439, allocations: 0.5327 MB / 0.6679 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.439, allocations: 5.188 kB / 0.6679 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.439, allocations: 0 / 0.6679 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.439, allocations: 0 / 0.6679 GB, free: 15.63 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.0006922/0.4397, allocations: 0.6887 MB / 0.6686 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4397, allocations: 9.625 kB / 0.6686 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.4403, allocations: 189.4 kB / 0.6688 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.4406, allocations: 286.5 kB / 0.6691 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.4407, allocations: 75.84 kB / 0.6691 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.4407, allocations: 33.56 kB / 0.6692 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.441, allocations: 298.9 kB / 0.6694 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.441, allocations: 1.312 kB / 0.6694 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4411, allocations: 9.625 kB / 0.6695 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4411, allocations: 11.09 kB / 0.6695 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4412, allocations: 91.44 kB / 0.6696 GB, free: 14.69 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.0009283/0.4421, allocations: 1.198 MB / 0.6707 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.4423, allocations: 80.72 kB / 0.6708 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.4423, allocations: 40.81 kB / 0.6708 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4426, allocations: 76.48 kB / 0.6709 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4426, allocations: 39.7 kB / 0.671 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.4426, allocations: 0 / 0.671 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0003272/0.4429, allocations: 156.2 kB / 0.6711 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4429, allocations: 54.16 kB / 0.6712 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4431, allocations: 281.7 kB / 0.6714 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4431, allocations: 27.08 kB / 0.6714 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.4432, allocations: 247.9 kB / 0.6717 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.4432, allocations: 55.06 kB / 0.6717 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.4433, allocations: 49.72 kB / 0.6718 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.4433, allocations: 0.5079 MB / 0.6723 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.4434, allocations: 19.97 kB / 0.6723 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.4435, allocations: 175.4 kB / 0.6725 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.4436, allocations: 113.4 kB / 0.6726 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4436, allocations: 0 / 0.6726 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002233/0.4438, allocations: 153.5 kB / 0.6727 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4438, allocations: 5.969 kB / 0.6727 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4438, allocations: 4.219 kB / 0.6727 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4438, allocations: 2.25 kB / 0.6727 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.444, allocations: 38.23 kB / 0.6728 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.444, allocations: 5.125 kB / 0.6728 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.444, allocations: 25.39 kB / 0.6728 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.4441, allocations: 9.75 kB / 0.6728 GB, free: 12.41 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.48e-05/0.4441, allocations: 169.3 kB / 0.673 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.4442, allocations: 33.77 kB / 0.673 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.4444, allocations: 153.7 kB / 0.6731 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4444, allocations: 6.312 kB / 0.6732 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4444, allocations: 1.203 kB / 0.6732 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4444, allocations: 4.625 kB / 0.6732 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.445, allocations: 0.5308 MB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.445, allocations: 2.188 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.445, allocations: 33.5 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.445, allocations: 13.06 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4451, allocations: 2.656 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4451, allocations: 1.938 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4451, allocations: 5.156 kB / 0.6737 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.4452, allocations: 332.5 kB / 0.674 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4453, allocations: 35.66 kB / 0.6741 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4453, allocations: 10.03 kB / 0.6741 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.4454, allocations: 9.688 kB / 0.6741 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.4454, allocations: 18.58 kB / 0.6741 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4454, allocations: 13.91 kB / 0.6741 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.4455, allocations: 188.3 kB / 0.6743 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4455, allocations: 0 / 0.6743 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002811/0.4458, allocations: 117.2 kB / 0.6744 GB, free: 11.37 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.0002341/0.446, allocations: 176.1 kB / 0.6746 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.4461, allocations: 90.22 kB / 0.6747 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4461, allocations: 0 / 0.6747 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.4462, allocations: 50.66 kB / 0.6747 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.4466, allocations: 124.7 kB / 0.6748 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.4474, allocations: 0.5644 MB / 0.6754 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.4474, allocations: 98 kB / 0.6755 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.4475, allocations: 40.97 kB / 0.6755 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4477, allocations: 170.8 kB / 0.6757 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.4477, allocations: 4 kB / 0.6757 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.007913/0.4556, allocations: 5.737 MB / 0.6813 GB, free: 10.11 MB / 0.5573 GB " [Timeout remaining time 660] 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: 4.155070107895881]