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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 120 kB / 19.43 MB, free: 2.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 192.9 kB / 22.68 MB, free: 5.469 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.532/1.532, allocations: 207.6 MB / 233.3 MB, free: 11.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3201/0.3201, allocations: 49.52 MB / 335 MB, free: 4.508 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003115, allocations: 72.52 kB / 474.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1635, allocations: 62.33 MB / 0.5244 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2998/0.4633, allocations: 45.01 MB / 0.5684 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4769, allocations: 9.317 MB / 0.5775 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006301/0.4776, allocations: 13.62 kB / 0.5775 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.4783, allocations: 208.1 kB / 0.5777 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.479, allocations: 283.2 kB / 0.5779 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01584/0.4949, allocations: 5.055 MB / 0.5829 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4962, allocations: 0.7936 MB / 0.5837 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.4967, allocations: 216.5 kB / 0.5839 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.4975, allocations: 410.5 kB / 0.5842 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.498, allocations: 304.6 kB / 0.5845 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.498, allocations: 29.91 kB / 0.5846 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.5121, allocations: 6.154 MB / 0.5906 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.5123, allocations: 88.38 kB / 0.5907 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.5129, allocations: 242.7 kB / 0.5909 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.5234, allocations: 3.722 MB / 0.5945 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5234, allocations: 0 / 0.5945 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5234, allocations: 0 / 0.5945 GB, free: 12.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.5234, allocations: 1.125 kB / 0.5945 GB, free: 12.35 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.004201/0.5276, allocations: 1.219 MB / 0.5957 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5277, allocations: 13.58 kB / 0.5957 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.5278, allocations: 69.41 kB / 0.5958 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.5281, allocations: 69.84 kB / 0.5959 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.5288, allocations: 376.4 kB / 0.5962 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.5289, allocations: 26.59 kB / 0.5963 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.5289, allocations: 28 kB / 0.5963 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.53, allocations: 441.4 kB / 0.5967 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.53, allocations: 0 / 0.5967 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.5301, allocations: 13.62 kB / 0.5967 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5301, allocations: 5.781 kB / 0.5967 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.5313, allocations: 364.1 kB / 0.5971 GB, free: 10.48 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.00279/0.5341, allocations: 2.133 MB / 0.5991 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.5353, allocations: 291.5 kB / 0.5994 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.5357, allocations: 106.2 kB / 0.5995 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06824/0.6039, allocations: 32.25 MB / 0.631 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.604, allocations: 42.5 kB / 0.6311 GB, free: 5.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.604, allocations: 0 / 0.6311 GB, free: 5.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001865/0.6058, allocations: 413.1 kB / 0.6315 GB, free: 5.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.6059, allocations: 81.11 kB / 0.6315 GB, free: 4.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.6065, allocations: 442 kB / 0.632 GB, free: 4.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6065, allocations: 25.7 kB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.6067, allocations: 236.3 kB / 0.6322 GB, free: 4.199 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.6068, allocations: 55.48 kB / 0.6323 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.6069, allocations: 57.64 kB / 0.6323 GB, free: 4.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6071, allocations: 358.7 kB / 0.6327 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.6075, allocations: 105.4 kB / 0.6328 GB, free: 3.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.6079, allocations: 160.5 kB / 0.6329 GB, free: 3.434 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.6087, allocations: 259.8 kB / 0.6332 GB, free: 3.152 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6087, allocations: 3.938 kB / 0.6332 GB, free: 3.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009982/0.6097, allocations: 329.2 kB / 0.6335 GB, free: 2.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6097, allocations: 12 kB / 0.6335 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6097, allocations: 0 / 0.6335 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6097, allocations: 4.688 kB / 0.6335 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.6101, allocations: 71.88 kB / 0.6336 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6101, allocations: 0 / 0.6336 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.6105, allocations: 51.66 kB / 0.6336 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.6106, allocations: 11.98 kB / 0.6336 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004484/0.611, allocations: 204.1 kB / 0.6338 GB, free: 2.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003912/0.6114, allocations: 157.3 kB / 0.634 GB, free: 2.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007047/0.6121, allocations: 256 kB / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.6121, allocations: 0 / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009488/0.613, allocations: 317 kB / 0.6345 GB, free: 1.684 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6131, allocations: 12.09 kB / 0.6345 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6131, allocations: 4.281 kB / 0.6345 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.6131, allocations: 11.94 kB / 0.6345 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.6134, allocations: 63.89 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6134, allocations: 4 kB / 0.6346 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.6138, allocations: 35.86 kB / 0.6346 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.6138, allocations: 8 kB / 0.6346 GB, free: 1.547 MB / 478.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.0001766/0.614, allocations: 200.1 kB / 0.6348 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6141, allocations: 55.66 kB / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.6153, allocations: 452.8 kB / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6153, allocations: 4 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6153, allocations: 3.938 kB / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6153, allocations: 3.938 kB / 0.6353 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.616, allocations: 457.1 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.616, allocations: 0 / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.6163, allocations: 47.95 kB / 0.6358 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6163, allocations: 4 kB / 0.6358 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.6163, allocations: 8 kB / 0.6358 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6163, allocations: 8.109 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6163, allocations: 1.875 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6173, allocations: 458.2 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.6175, allocations: 124.8 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.6176, allocations: 15.84 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.6179, allocations: 27.97 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.618, allocations: 15.92 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.618, allocations: 8 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005092/0.6185, allocations: 410.8 kB / 0.6368 GB, free: 15.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6185, allocations: 0 / 0.6368 GB, free: 15.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003696/0.6222, allocations: 0.9358 MB / 0.6378 GB, free: 14.25 MB / 494.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.007222/0.6294, allocations: 1.857 MB / 0.6396 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.6309, allocations: 343.7 kB / 0.6399 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6309, allocations: 4 kB / 0.6399 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.6313, allocations: 108.7 kB / 0.64 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6329, allocations: 243.9 kB / 0.6402 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/0.6423, allocations: 4.287 MB / 0.6444 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.6428, allocations: 0.8308 MB / 0.6452 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.6433, allocations: 151 kB / 0.6454 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.6436, allocations: 179.4 kB / 0.6456 GB, free: 6.086 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6436, allocations: 0 / 0.6456 GB, free: 6.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08847/0.7321, allocations: 39.92 MB / 0.6845 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.75, allocations: 12 kB / 0.6846 GB, free: 14.04 MB / 0.5294 GB " [Timeout remaining time 648] (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: 14.748192586004734] Failed to read output from testmodel.py, exit status != 0: 11.850600786972791 11.873515213 11.345720639 Calling exit ...