Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.001321/0.001321, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001444/0.001444, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.396/1.396, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.2926/0.2926, allocations: 49.59 MB / 336.4 MB, free: 3.891 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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",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.002281/0.002281, allocations: 71.89 kB / 476.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1096, allocations: 62.42 MB / 0.5263 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2127/0.3223, allocations: 14.33 MB / 0.5403 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3354, allocations: 12.16 MB / 0.5521 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3356, allocations: 5.062 kB / 0.5522 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.336, allocations: 117.8 kB / 0.5523 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.3366, allocations: 232.6 kB / 0.5525 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.3507, allocations: 5.461 MB / 0.5578 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.3521, allocations: 1.031 MB / 0.5588 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.3522, allocations: 13.73 kB / 0.5588 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.353, allocations: 0.4927 MB / 0.5593 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.3537, allocations: 467.6 kB / 0.5598 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3538, allocations: 41.72 kB / 0.5598 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.365, allocations: 6.093 MB / 0.5658 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.3653, allocations: 181.8 kB / 0.5659 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.3657, allocations: 222 kB / 0.5661 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007427/0.3731, allocations: 3.934 MB / 0.57 GB, free: 1.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3731, allocations: 7.938 kB / 0.57 GB, free: 1.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3731, allocations: 0 / 0.57 GB, free: 1.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3731, allocations: 1.344 kB / 0.57 GB, free: 1.398 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004915/0.378, allocations: 1.444 MB / 0.5714 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.378, allocations: 13.64 kB / 0.5714 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.3781, allocations: 71.92 kB / 0.5715 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3795, allocations: 168.5 kB / 0.5716 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.3802, allocations: 292.4 kB / 0.5719 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000468/0.3807, allocations: 319.5 kB / 0.5722 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3808, allocations: 36.25 kB / 0.5723 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005129/0.386, allocations: 1.979 MB / 0.5742 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.386, allocations: 0 / 0.5742 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3861, allocations: 16.25 kB / 0.5742 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.3861, allocations: 12.03 kB / 0.5742 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007435/0.3935, allocations: 2.64 MB / 0.5768 GB, free: 13.27 MB / 430.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.005169/0.3987, allocations: 3.798 MB / 0.5805 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.4027, allocations: 1.344 MB / 0.5818 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/0.4053, allocations: 0.9777 MB / 0.5828 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1589/0.5642, allocations: 42.26 MB / 0.624 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.078e-05/0.5642, allocations: 38.89 kB / 0.6241 GB, free: 428 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.5642, allocations: 0 / 0.6241 GB, free: 428 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02429/0.5885, allocations: 5.785 MB / 0.6297 GB, free: 10.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5886, allocations: 59.34 kB / 0.6298 GB, free: 10.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.5888, allocations: 157.5 kB / 0.6299 GB, free: 10.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.589, allocations: 37.7 kB / 0.63 GB, free: 10.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.5891, allocations: 148.9 kB / 0.6301 GB, free: 10.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.5893, allocations: 158.6 kB / 0.6303 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/0.5898, allocations: 225.8 kB / 0.6305 GB, free: 9.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5899, allocations: 330.8 kB / 0.6308 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/0.5939, allocations: 1.117 MB / 0.6319 GB, free: 8.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004038/0.5979, allocations: 1.204 MB / 0.6331 GB, free: 7.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/0.6053, allocations: 1.972 MB / 0.635 GB, free: 5.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6053, allocations: 4 kB / 0.635 GB, free: 5.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008602/0.6139, allocations: 2.327 MB / 0.6373 GB, free: 2.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.614, allocations: 8.312 kB / 0.6373 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.614, allocations: 9.812 kB / 0.6373 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.614, allocations: 4 kB / 0.6373 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.6168, allocations: 495.1 kB / 0.6378 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.6168, allocations: 4 kB / 0.6378 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.6188, allocations: 251.6 kB / 0.638 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.619, allocations: 79.86 kB / 0.6381 GB, free: 1.918 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005007/0.6195, allocations: 182.2 kB / 0.6383 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.6198, allocations: 19.91 kB / 0.6383 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.6327, allocations: 7.437 MB / 0.6455 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/0.6441, allocations: 6.896 MB / 0.6523 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6441, allocations: 0 / 0.6523 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6441, allocations: 3.984 kB / 0.6523 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.6603, allocations: 10.74 MB / 0.6628 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.6603, allocations: 0 / 0.6628 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/0.6629, allocations: 491.2 kB / 0.6632 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.6629, allocations: 4 kB / 0.6632 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.663, allocations: 48.91 kB / 0.6633 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.6631, allocations: 7.938 kB / 0.6633 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6631, allocations: 0 / 0.6633 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.6749, allocations: 4.539 MB / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.6756, allocations: 211.1 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.6758, allocations: 19.98 kB / 0.6679 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.6775, allocations: 255.6 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.6777, allocations: 79.72 kB / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.6779, allocations: 59.53 kB / 0.6683 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001036/0.678, allocations: 111.2 kB / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.678, allocations: 0 / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003143/0.6811, allocations: 0.979 MB / 0.6694 GB, free: 1.492 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01666/0.6978, allocations: 5.979 MB / 0.6752 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008225/0.706, allocations: 2.627 MB / 0.6778 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.706, allocations: 0 / 0.6778 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/0.7099, allocations: 1.408 MB / 0.6792 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.7107, allocations: 100.7 kB / 0.6793 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/0.7399, allocations: 9.77 MB / 0.6888 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.7402, allocations: 325.7 kB / 0.6891 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002305/0.7425, allocations: 1.298 MB / 0.6904 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/0.7434, allocations: 307.1 kB / 0.6907 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.7434, allocations: 7.938 kB / 0.6907 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/0.8396, allocations: 50.85 MB / 0.7403 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.65, allocations: 12.02 kB / 0.7403 GB, free: 8.406 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance_res.csv --start-time 0 --stop-time 19 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0076 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.81725649582222] Failed to read output from testmodel.py, exit status != 0: 15.798987562768161 15.824677404 15.44684626 Calling exit ...