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.0009351/0.0009351, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009387/0.0009387, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9544/0.9544, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8064/0.8064, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.393e-06/1.393e-06, allocations: 0 / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.758e-05, allocations: 6.047 kB / 480 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1326/0.1326, allocations: 146.1 MB / 0.6115 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.1358, allocations: 2.317 MB / 0.6137 GB, free: 2.289 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1361, allocations: 23.81 kB / 0.6138 GB, free: 2.266 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1364, allocations: 95.14 kB / 0.6139 GB, free: 2.172 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1377, allocations: 0.6567 MB / 0.6145 GB, free: 1.512 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009106/0.1386, allocations: 0.5337 MB / 0.615 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.1392, allocations: 0.7406 MB / 0.6157 GB, free: 236 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.1395, allocations: 246.9 kB / 0.616 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.1399, allocations: 410.8 kB / 0.6164 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.1404, allocations: 390.8 kB / 0.6167 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.1404, allocations: 28 kB / 0.6168 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.141, allocations: 478.6 kB / 0.6172 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.1411, allocations: 127.6 kB / 0.6173 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.1412, allocations: 123.7 kB / 0.6175 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.1417, allocations: 0.5334 MB / 0.618 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1417, allocations: 0 / 0.618 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1417, allocations: 0 / 0.618 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1417, allocations: 0 / 0.618 GB, free: 13.93 MB / 0.5886 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.0005741/0.1423, allocations: 0.5656 MB / 0.6185 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1423, allocations: 8.031 kB / 0.6185 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.1429, allocations: 180.3 kB / 0.6187 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1432, allocations: 260.7 kB / 0.619 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.1432, allocations: 76.61 kB / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1433, allocations: 35.94 kB / 0.6191 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1435, allocations: 284.5 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1435, allocations: 4 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.1436, allocations: 12 kB / 0.6194 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1436, allocations: 7.938 kB / 0.6194 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1437, allocations: 86.23 kB / 0.6195 GB, free: 12.34 MB / 0.5886 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.000794/0.1445, allocations: 0.8732 MB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1446, allocations: 114.9 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1449, allocations: 39.66 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.1451, allocations: 79.84 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1451, allocations: 38.56 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.1451, allocations: 0 / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002647/0.1454, allocations: 123.3 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1454, allocations: 55.41 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1456, allocations: 232.9 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1456, allocations: 25.7 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.1456, allocations: 169 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1457, allocations: 55.47 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.1457, allocations: 41.69 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.1458, allocations: 342.7 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.1458, allocations: 22.81 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.1459, allocations: 143.1 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.829e-05/0.146, allocations: 107.5 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.146, allocations: 0 / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001582/0.1462, allocations: 131 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1462, allocations: 5.719 kB / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1462, allocations: 7.938 kB / 0.622 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1462, allocations: 4 kB / 0.622 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1463, allocations: 31.98 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.1463, allocations: 0 / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.1464, allocations: 27.81 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1464, allocations: 12 kB / 0.622 GB, free: 9.512 MB / 0.5886 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.534e-05/0.1465, allocations: 124.8 kB / 0.6222 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1465, allocations: 19.92 kB / 0.6222 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.1467, allocations: 135.3 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1467, allocations: 0 / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1467, allocations: 0 / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1467, allocations: 7.984 kB / 0.6223 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1471, allocations: 0.5194 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1471, allocations: 8.219 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.1472, allocations: 31.92 kB / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1472, allocations: 3.938 kB / 0.6229 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1472, allocations: 8 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1472, allocations: 4 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1472, allocations: 4 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1474, allocations: 294.7 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1474, allocations: 39.77 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1475, allocations: 7.938 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1475, allocations: 12 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1476, allocations: 19.91 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1476, allocations: 8 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.1476, allocations: 78.77 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.1476, allocations: 0 / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002348/0.1479, allocations: 107.7 kB / 0.6234 GB, free: 7.98 MB / 0.5886 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.0002369/0.1481, allocations: 156.1 kB / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1482, allocations: 76.69 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1482, allocations: 4 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.1483, allocations: 49.34 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1486, allocations: 117.4 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.1494, allocations: 0.5447 MB / 0.6243 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.1494, allocations: 92.3 kB / 0.6244 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.348e-05/0.1495, allocations: 41.97 kB / 0.6245 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1497, allocations: 147.2 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.1497, allocations: 0 / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of Templates: time 0.007243/0.157, allocations: 5.659 MB / 0.6301 GB, free: 1.156 MB / 0.5886 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: 3.803826523013413]