Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.001824/0.001824, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002391/0.002391, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.291/0.291, allocations: 49.57 MB / 336.3 MB, free: 4.195 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 75.89 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1197, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.269/0.3887, allocations: 45.01 MB / 0.5701 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.4025, allocations: 9.328 MB / 0.5792 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.4031, allocations: 14.12 kB / 0.5792 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.4039, allocations: 205 kB / 0.5794 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.4047, allocations: 287 kB / 0.5797 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0153/0.42, allocations: 5.062 MB / 0.5846 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.4214, allocations: 0.7966 MB / 0.5854 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.4218, allocations: 224.9 kB / 0.5856 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.4227, allocations: 413.2 kB / 0.586 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.4232, allocations: 304.3 kB / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.4233, allocations: 31.97 kB / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/0.437, allocations: 6.169 MB / 0.5924 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.4371, allocations: 88.84 kB / 0.5924 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.4376, allocations: 245.7 kB / 0.5927 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.4472, allocations: 3.713 MB / 0.5963 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4472, allocations: 1.375 kB / 0.5963 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4472, allocations: 0 / 0.5963 GB, free: 11.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.4472, allocations: 0 / 0.5963 GB, free: 11.44 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004092/0.4513, allocations: 1.141 MB / 0.5974 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4514, allocations: 9.5 kB / 0.5974 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.189e-05/0.4515, allocations: 68.78 kB / 0.5975 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.4517, allocations: 71.72 kB / 0.5976 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.4524, allocations: 313.1 kB / 0.5979 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.4524, allocations: 26.59 kB / 0.5979 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4525, allocations: 32.62 kB / 0.5979 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.4535, allocations: 440.4 kB / 0.5983 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4535, allocations: 0 / 0.5983 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.4535, allocations: 11.56 kB / 0.5983 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4535, allocations: 7.938 kB / 0.5984 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4547, allocations: 356.3 kB / 0.5987 GB, free: 9.742 MB / 446.1 MB 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.002547/0.4573, allocations: 2.107 MB / 0.6008 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4584, allocations: 288.2 kB / 0.601 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.4588, allocations: 111 kB / 0.6011 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05779/0.5166, allocations: 16.79 MB / 0.6175 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.5166, allocations: 50.48 kB / 0.6176 GB, free: 7.961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.497e-06/0.5166, allocations: 1.406 kB / 0.6176 GB, free: 7.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001824/0.5184, allocations: 414.7 kB / 0.618 GB, free: 7.551 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.5185, allocations: 81.09 kB / 0.618 GB, free: 7.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.5191, allocations: 438.4 kB / 0.6185 GB, free: 7.016 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.5191, allocations: 25.7 kB / 0.6185 GB, free: 6.984 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.5194, allocations: 236.4 kB / 0.6187 GB, free: 6.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.5194, allocations: 63.44 kB / 0.6188 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.5195, allocations: 57.56 kB / 0.6188 GB, free: 6.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5197, allocations: 354.7 kB / 0.6192 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.5201, allocations: 108.7 kB / 0.6193 GB, free: 6.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.5205, allocations: 151.7 kB / 0.6194 GB, free: 5.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.5213, allocations: 251.5 kB / 0.6197 GB, free: 5.711 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.5213, allocations: 6.562 kB / 0.6197 GB, free: 5.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001026/0.5224, allocations: 333.2 kB / 0.62 GB, free: 5.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5224, allocations: 11.94 kB / 0.62 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5224, allocations: 4 kB / 0.62 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5224, allocations: 192 / 0.62 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.5228, allocations: 67.89 kB / 0.6201 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.5228, allocations: 7.938 kB / 0.6201 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.5232, allocations: 55.64 kB / 0.6201 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.5233, allocations: 15.98 kB / 0.6201 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004595/0.5237, allocations: 188.1 kB / 0.6203 GB, free: 5.027 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003991/0.5241, allocations: 166 kB / 0.6205 GB, free: 4.832 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007144/0.5248, allocations: 253.5 kB / 0.6207 GB, free: 4.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.5248, allocations: 0 / 0.6207 GB, free: 4.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009614/0.5258, allocations: 321 kB / 0.621 GB, free: 4.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5258, allocations: 4 kB / 0.621 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5258, allocations: 8.266 kB / 0.621 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.5258, allocations: 8 kB / 0.621 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.5262, allocations: 67.89 kB / 0.6211 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5262, allocations: 4 kB / 0.6211 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.5266, allocations: 31.86 kB / 0.6211 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.5266, allocations: 12 kB / 0.6212 GB, free: 4.098 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001752/0.5268, allocations: 196.1 kB / 0.6213 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5269, allocations: 55.67 kB / 0.6214 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.528, allocations: 468.7 kB / 0.6218 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5281, allocations: 0 / 0.6218 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5281, allocations: 4 kB / 0.6218 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5281, allocations: 3.938 kB / 0.6218 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.5287, allocations: 440.1 kB / 0.6223 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5288, allocations: 1.25 kB / 0.6223 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.529, allocations: 47.95 kB / 0.6223 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.529, allocations: 4 kB / 0.6223 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.5291, allocations: 8 kB / 0.6223 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5291, allocations: 3.938 kB / 0.6223 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5291, allocations: 0 / 0.6223 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.53, allocations: 458.2 kB / 0.6228 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.5302, allocations: 43.7 kB / 0.6228 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.5302, allocations: 19.83 kB / 0.6228 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.5306, allocations: 25.11 kB / 0.6229 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.5307, allocations: 19.91 kB / 0.6229 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.5307, allocations: 8 kB / 0.6229 GB, free: 2.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005079/0.5312, allocations: 410.8 kB / 0.6233 GB, free: 1.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5312, allocations: 0 / 0.6233 GB, free: 1.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003534/0.5347, allocations: 0.9358 MB / 0.6242 GB, free: 0.918 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.006781/0.5415, allocations: 1.854 MB / 0.626 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.5429, allocations: 343.6 kB / 0.6263 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5429, allocations: 0 / 0.6263 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.5433, allocations: 109.4 kB / 0.6264 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.5448, allocations: 237.7 kB / 0.6267 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/0.5536, allocations: 4.289 MB / 0.6308 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.5542, allocations: 0.8308 MB / 0.6317 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.5546, allocations: 151.1 kB / 0.6318 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.5549, allocations: 179.4 kB / 0.632 GB, free: 8.762 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5549, allocations: 0 / 0.632 GB, free: 8.762 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08582/0.6407, allocations: 40.15 MB / 0.6712 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.18, allocations: 11.91 kB / 0.6712 GB, free: 496 kB / 0.4981 GB " [Timeout remaining time 646] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.10113094211556] Failed to read output from testmodel.py, exit status != 0: 14.31088496814482 14.335913394 13.883382427999999 Calling exit ...