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.001029/0.001029, 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.00106/0.00106, allocations: 165 kB / 23.01 MB, free: 1.555 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.9777/0.9777, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.775/0.775, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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 1.253e-06/1.253e-06, allocations: 0 / 0.5203 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.814e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.156 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1325/0.1325, allocations: 146.8 MB / 0.6637 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1354, allocations: 2.295 MB / 0.6659 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.1355, allocations: 15.88 kB / 0.6659 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1358, allocations: 99.12 kB / 0.666 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.137, allocations: 0.6567 MB / 0.6667 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.1378, allocations: 0.5298 MB / 0.6672 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.1383, allocations: 0.7483 MB / 0.6679 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.1386, allocations: 243.1 kB / 0.6681 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.139, allocations: 406.9 kB / 0.6685 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1395, allocations: 414.8 kB / 0.6689 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.1395, allocations: 24 kB / 0.6689 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.14, allocations: 470.7 kB / 0.6694 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.1401, allocations: 131.5 kB / 0.6695 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.1402, allocations: 127.7 kB / 0.6696 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1407, allocations: 0.5334 MB / 0.6702 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1407, allocations: 0 / 0.6702 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.91e-07/0.1407, allocations: 4 kB / 0.6702 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1407, allocations: 0 / 0.6702 GB, free: 8.379 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.0005514/0.1413, allocations: 0.6826 MB / 0.6708 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.1413, allocations: 8.031 kB / 0.6708 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.1419, allocations: 184.1 kB / 0.671 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1422, allocations: 299.3 kB / 0.6713 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.1422, allocations: 72.62 kB / 0.6714 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1423, allocations: 27.94 kB / 0.6714 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1426, allocations: 323.8 kB / 0.6717 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1426, allocations: 0 / 0.6717 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1426, allocations: 8 kB / 0.6717 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1426, allocations: 8 kB / 0.6717 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1428, allocations: 118.9 kB / 0.6718 GB, free: 6.562 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.001142/0.1439, allocations: 1.26 MB / 0.6731 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1441, allocations: 87.08 kB / 0.6731 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1441, allocations: 43.67 kB / 0.6732 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.1444, allocations: 79.91 kB / 0.6733 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1444, allocations: 41.39 kB / 0.6733 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.1444, allocations: 0 / 0.6733 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.000335/0.1447, allocations: 175 kB / 0.6735 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.1448, allocations: 59.34 kB / 0.6735 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1449, allocations: 272.3 kB / 0.6738 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1449, allocations: 33.7 kB / 0.6738 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.145, allocations: 247.1 kB / 0.6741 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1451, allocations: 59.52 kB / 0.6741 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1451, allocations: 47.36 kB / 0.6742 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1452, allocations: 0.5079 MB / 0.6747 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.1453, allocations: 19.94 kB / 0.6747 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1454, allocations: 174.9 kB / 0.6748 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1455, allocations: 128.4 kB / 0.675 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1456, allocations: 0 / 0.675 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002337/0.1458, allocations: 161.3 kB / 0.6751 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1458, allocations: 4 kB / 0.6751 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1458, allocations: 8.188 kB / 0.6751 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1458, allocations: 0 / 0.6751 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1459, allocations: 43.91 kB / 0.6752 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1459, allocations: 7.922 kB / 0.6752 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.146, allocations: 19.89 kB / 0.6752 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.146, allocations: 8 kB / 0.6752 GB, free: 2.883 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 9.276e-05/0.1461, allocations: 168.5 kB / 0.6754 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.1462, allocations: 31.84 kB / 0.6754 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1464, allocations: 157.5 kB / 0.6755 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1464, allocations: 4 kB / 0.6755 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1464, allocations: 3.938 kB / 0.6755 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1464, allocations: 7.984 kB / 0.6756 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.147, allocations: 0.5963 MB / 0.6761 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.147, allocations: 4 kB / 0.6761 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.147, allocations: 35.92 kB / 0.6762 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.147, allocations: 0 / 0.6762 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1471, allocations: 8 kB / 0.6762 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1471, allocations: 8.219 kB / 0.6762 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1471, allocations: 4 kB / 0.6762 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1473, allocations: 337.4 kB / 0.6765 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1473, allocations: 43.77 kB / 0.6766 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1474, allocations: 4 kB / 0.6766 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1474, allocations: 11.98 kB / 0.6766 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.1475, allocations: 11.98 kB / 0.6766 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1475, allocations: 19.92 kB / 0.6766 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.1476, allocations: 193.1 kB / 0.6768 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1476, allocations: 8 kB / 0.6768 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002655/0.1478, allocations: 107.7 kB / 0.6769 GB, free: 1.008 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.0002389/0.1481, allocations: 171 kB / 0.6771 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1482, allocations: 97.06 kB / 0.6772 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1482, allocations: 0 / 0.6772 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.1483, allocations: 55.53 kB / 0.6772 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1487, allocations: 112.2 kB / 0.6773 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2735/0.4222, allocations: 0.5632 MB / 0.6779 GB, free: 61.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.4223, allocations: 104.5 kB / 0.678 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.4225, allocations: 52.86 kB / 0.678 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.4225, allocations: 25.19 kB / 0.678 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.4225, allocations: 0.9062 kB / 0.678 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.00638/0.4289, allocations: 5.154 MB / 0.6831 GB, free: 61.49 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.374576957896352]