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.001357/0.001357, allocations: 93.06 kB / 19.65 MB, free: 280 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.000964/0.000964, allocations: 169 kB / 23.02 MB, free: 1.551 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.9899/0.9899, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7811/0.7811, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.314e-06/2.314e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.395e-05, allocations: 6.391 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1377/0.1377, allocations: 146.8 MB / 0.6637 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1403, allocations: 2.299 MB / 0.6659 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1405, allocations: 19.81 kB / 0.6659 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1408, allocations: 91.2 kB / 0.666 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1419, allocations: 0.6644 MB / 0.6667 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.1428, allocations: 0.5298 MB / 0.6672 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.1435, allocations: 0.7444 MB / 0.6679 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.1439, allocations: 247.1 kB / 0.6681 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.1443, allocations: 399 kB / 0.6685 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.1448, allocations: 414.8 kB / 0.6689 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.1449, allocations: 28 kB / 0.6689 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.1454, allocations: 474.6 kB / 0.6694 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.1455, allocations: 131.5 kB / 0.6695 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.1456, allocations: 119.8 kB / 0.6696 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.1462, allocations: 0.5334 MB / 0.6702 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1462, allocations: 0 / 0.6702 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1462, allocations: 3.938 kB / 0.6702 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1462, allocations: 0 / 0.6702 GB, free: 8.422 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.00064/0.1468, allocations: 0.6826 MB / 0.6708 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1469, allocations: 12.03 kB / 0.6708 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.1474, allocations: 192.1 kB / 0.671 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1477, allocations: 291.4 kB / 0.6713 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.1478, allocations: 72.62 kB / 0.6714 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1478, allocations: 31.94 kB / 0.6714 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1481, allocations: 319.8 kB / 0.6717 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1482, allocations: 0 / 0.6717 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1482, allocations: 16 kB / 0.6717 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1482, allocations: 4 kB / 0.6717 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1484, allocations: 118.9 kB / 0.6718 GB, free: 6.598 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.0009572/0.1493, allocations: 1.26 MB / 0.6731 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1495, allocations: 95.08 kB / 0.6732 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1495, allocations: 39.67 kB / 0.6732 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.1498, allocations: 83.84 kB / 0.6733 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1498, allocations: 37.39 kB / 0.6733 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.1498, allocations: 0 / 0.6733 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.000347/0.1502, allocations: 167.5 kB / 0.6735 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1502, allocations: 59.34 kB / 0.6735 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1503, allocations: 280.3 kB / 0.6738 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1504, allocations: 33.64 kB / 0.6738 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.1505, allocations: 247.2 kB / 0.6741 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1505, allocations: 55.53 kB / 0.6741 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.1505, allocations: 47.36 kB / 0.6742 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1507, allocations: 0.5001 MB / 0.6746 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.1507, allocations: 27.94 kB / 0.6747 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1508, allocations: 177.8 kB / 0.6748 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.1511, allocations: 120.8 kB / 0.675 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1511, allocations: 0 / 0.675 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002078/0.1513, allocations: 169.4 kB / 0.6751 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1513, allocations: 8 kB / 0.6751 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1513, allocations: 0 / 0.6751 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1513, allocations: 4 kB / 0.6751 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1514, allocations: 35.92 kB / 0.6752 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1514, allocations: 11.92 kB / 0.6752 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.1515, allocations: 15.89 kB / 0.6752 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1515, allocations: 12 kB / 0.6752 GB, free: 2.922 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 8.489e-05/0.1516, allocations: 168.5 kB / 0.6754 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1517, allocations: 31.94 kB / 0.6754 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.1519, allocations: 155.3 kB / 0.6755 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1519, allocations: 4 kB / 0.6755 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1519, allocations: 3.938 kB / 0.6755 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1519, allocations: 3.984 kB / 0.6756 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1524, allocations: 0.608 MB / 0.6761 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1524, allocations: 0 / 0.6761 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.1525, allocations: 28.2 kB / 0.6762 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1525, allocations: 8 kB / 0.6762 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1525, allocations: 12 kB / 0.6762 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1525, allocations: 3.938 kB / 0.6762 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1525, allocations: 4 kB / 0.6762 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1527, allocations: 343.5 kB / 0.6765 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1528, allocations: 39.77 kB / 0.6766 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1528, allocations: 8 kB / 0.6766 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.1529, allocations: 11.98 kB / 0.6766 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1529, allocations: 11.98 kB / 0.6766 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1529, allocations: 15.98 kB / 0.6766 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.153, allocations: 201.1 kB / 0.6768 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 0.6768 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002696/0.1533, allocations: 107.7 kB / 0.6769 GB, free: 1.043 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 (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.0002206/0.1535, allocations: 175 kB / 0.6771 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1537, allocations: 87.52 kB / 0.6772 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.1537, allocations: 4 kB / 0.6772 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.1537, allocations: 55.53 kB / 0.6772 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1541, allocations: 110.1 kB / 0.6773 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2257/0.3798, allocations: 0.5612 MB / 0.6779 GB, free: 61.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3799, allocations: 106.2 kB / 0.678 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.3801, allocations: 52.95 kB / 0.678 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.3802, allocations: 27.81 kB / 0.678 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.603e-06/0.3802, allocations: 1.438 kB / 0.678 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.006865/0.3871, allocations: 5.684 MB / 0.6836 GB, free: 61.44 MB / 0.6355 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.284373446367681]